Skip to content

Commit

Permalink
passing cross_bucket in fetch_legacy_compatible
Browse files Browse the repository at this point in the history
Change-Id: I9a137563ed93274bce2a6588dae39c7b67334d38
  • Loading branch information
Jaquier Aurélien Tristan committed Sep 12, 2024
1 parent eaa9e43 commit 9d56b03
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 9d56b03

Please sign in to comment.