Skip to content

Commit

Permalink
list/filter datasets: revision argument needs to be passed down
Browse files Browse the repository at this point in the history
  • Loading branch information
oliche committed Dec 5, 2024
1 parent 1f2ab97 commit 6e9dc87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion one/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ def load_object(self,
"""
query_type = query_type or self.mode
datasets = self.list_datasets(
eid, details=True, query_type=query_type, keep_eid_index=True)
eid, details=True, query_type=query_type, keep_eid_index=True, revision=revision)

if len(datasets) == 0:
raise alferr.ALFObjectNotFound(obj)
Expand Down

0 comments on commit 6e9dc87

Please sign in to comment.