Skip to content

Commit

Permalink
Merge pull request #169 from BlueBrain/cross-bucket
Browse files Browse the repository at this point in the history
passing cross_bucket in fetch_legacy_compatible
  • Loading branch information
AurelienJaquier authored Sep 12, 2024
2 parents eaa9e43 + 9d56b03 commit 60aee34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bluepyemodel/access_point/forge_access_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,9 +496,9 @@ def fetch_legacy_compatible(self, filters, legacy_filters=None):
Returns:
resources (list): list of resources
"""
resources = self.fetch(filters)
resources = self.fetch(filters, cross_bucket=self.cross_bucket)
if not resources and legacy_filters is not None:
resources = self.fetch(legacy_filters)
resources = self.fetch(legacy_filters, cross_bucket=self.cross_bucket)

if resources:
return resources
Expand Down

0 comments on commit 60aee34

Please sign in to comment.