Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 10, 2025
1 parent 9a09c98 commit 955304e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion torch_geometric/utils/rag/backend_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ class RemoteGraphBackendLoader:
graph_store_type: Type[ConvertableGraphStore]
feature_store_type: Type[ConvertableFeatureStore]

def load(self, pid: Optional[int] = None, is_sorted=False) -> RemoteGraphBackend:
def load(self, pid: Optional[int] = None,
is_sorted=False) -> RemoteGraphBackend:
if self.datatype == RemoteDataType.DATA:
data_obj = torch.load(self.path, weights_only=False)
graph_store = self.graph_store_type.from_data(
Expand Down

0 comments on commit 955304e

Please sign in to comment.