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 support for limit and offset to ls #868

Merged
merged 4 commits into from
Oct 16, 2023
Merged

Conversation

sirosen
Copy link
Member

@sirosen sirosen commented Oct 16, 2023

  • Add 'limit' and 'offset' params to 'ls'
  • Convert operation_ls tests to newer style
  • Add limit+offset to ls param tests

📚 Documentation preview 📚: https://globus-sdk-python--868.org.readthedocs.build/en/868/

These two parameters to the TransferClient.operation_ls call were
missing.

The Transfer API documentation has notes on pagination with
limit+offset included in the documentation for `limit`. Rather than
doing this, pull that same basic content into a `.. note::` directive.
- Remove separate fixture file (generate it inline as part of the test
  file) and move it to `globus_sdk._testing` style
- Move the method test to a dedicated file with parametrized tests
src/globus_sdk/services/transfer/client.py Show resolved Hide resolved
src/globus_sdk/services/transfer/client.py Outdated Show resolved Hide resolved
src/globus_sdk/services/transfer/client.py Outdated Show resolved Hide resolved
Co-authored-by: Kurt McKee <contactme@kurtmckee.org>
@sirosen sirosen merged commit 3c38fab into globus:main Oct 16, 2023
14 checks passed
@sirosen sirosen mentioned this pull request Oct 27, 2023
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