Skip to content

Commit

Permalink
Merge pull request #1 from accumb3ns/bugfix-fix_find_or_create_path_g…
Browse files Browse the repository at this point in the history
…t_50_elements

retrieve all elements, not just first 50
  • Loading branch information
golharam authored Apr 9, 2024
2 parents ea3d818 + 4854dfc commit 8a2a478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cwl_platform/sevenbridges_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _find_or_create_path(self, project, path):
else:
parent = parent[0]
for folder in folders[1:]:
nested = [x for x in parent.list_files() if x.name == folder]
nested = [x for x in parent.list_files().all() if x.name == folder]
if not nested:
parent = self.api.files.create_folder(
name=folder,
Expand Down

0 comments on commit 8a2a478

Please sign in to comment.