Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add limit, offset and include_deleted to show_folder #494

Merged
merged 25 commits into from
Feb 4, 2025

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 <[email protected]>
@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 <[email protected]>
Co-authored-by: Nicola Soranzo <[email protected]>
Co-authored-by: Nicola Soranzo <[email protected]>
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