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

This commit is contained in:
TPTBusiness
2026-04-29 17:50:06 +02:00
parent eb8588cbaf
commit 52aee3556c
@@ -78,7 +78,7 @@ model_cls = DirGNNConv
if __name__ == "__main__":
node_features = torch.load("node_features.pt", weights_only=True)
node_features = torch.load("node_features.pt", weights_only=True) # nosec B614
edge_index = torch.load("edge_index.pt", weights_only=True) # nosec B614
# Model instantiation and forward pass