Skip to content

Comments

Add limit, offset and include_deleted to show_folder#494

Merged
nsoranzo merged 25 commits intogalaxyproject:mainfrom
bernt-matthias:folder-update
Feb 4, 2025
Merged

Add limit, offset and include_deleted to show_folder#494
nsoranzo merged 25 commits intogalaxyproject:mainfrom
bernt-matthias:folder-update

Conversation

@bernt-matthias
Copy link
Contributor

No description provided.

@bernt-matthias bernt-matthias marked this pull request as draft January 29, 2025 09:57
@bernt-matthias bernt-matthias force-pushed the folder-update branch 3 times, most recently from 4df08d9 to 99cd859 Compare January 29, 2025 10:24
@bernt-matthias bernt-matthias force-pushed the folder-update branch 3 times, most recently from 36073c5 to 790a7f7 Compare January 29, 2025 10:59
@bernt-matthias bernt-matthias marked this pull request as ready for review January 29, 2025 11:33
@bernt-matthias bernt-matthias changed the title Add limit and offset to show_folder Add limit, offset and include_deleted to show_folder Jan 30, 2025
bernt-matthias and others added 2 commits January 30, 2025 18:32
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
@bernt-matthias
Copy link
Contributor Author

bernt-matthias commented Jan 31, 2025

Maybe like this: 30c4c91 simplifies the code I'm working on quite a bit:
bernt-matthias/ufz-galaxy-scripts@eeffd3a

@nsoranzo
Copy link
Member

Wondering if we should untangle this a bit?

* leave `show_folder` as it is (maybe marking `contents` as deprecated)

All BioBlend low-level wrapper methods for containers (histories, libraries, folders) currently work this way, maybe it'd be useful to improve the method annotation with overloads, like https://github.com/galaxyproject/bioblend/blob/main/bioblend/galaxy/histories/__init__.py#L307-L335

Maybe like this: 30c4c91 simplifies the code I'm working on quite a bit:
bernt-matthias/ufz-galaxy-scripts@eeffd3a

Usually this (slightly) higher-level manipulation have been implemented in BioBlend.objects , but this looks fine to me.

Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Copy link
Member

@nsoranzo nsoranzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @bernt-matthias !

@nsoranzo nsoranzo merged commit 8531562 into galaxyproject:main Feb 4, 2025
21 checks passed
@bernt-matthias bernt-matthias deleted the folder-update branch February 5, 2025 07:35
@bernt-matthias
Copy link
Contributor Author

Could we create a release together with #492

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants