fix(security): add nosec for torch.load (B614 #730)

This commit is contained in:
TPTBusiness
2026-04-29 17:47:20 +02:00
parent 2a282d18b7
commit eb8588cbaf
@@ -79,7 +79,7 @@ model_cls = DirGNNConv
if __name__ == "__main__":
node_features = torch.load("node_features.pt", weights_only=True)
edge_index = torch.load("edge_index.pt", weights_only=True)
edge_index = torch.load("edge_index.pt", weights_only=True) # nosec B614
# Model instantiation and forward pass
model = DirGNNConv(MessagePassing())