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

revert max_items to default to None (retrieve all items) #278

Closed
wants to merge 2 commits into from

Conversation

philvarner
Copy link
Collaborator

Related Issue(s):

Description:

Revert max_items to default to None instead of 100, so all items are retrived.

PR Checklist:

  • Code is formatted
  • Tests pass
  • Changes are added to the CHANGELOG

@codecov-commenter
Copy link

codecov-commenter commented Jul 28, 2022

Codecov Report

Merging #278 (1e5c6d2) into main (caf8dd2) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #278   +/-   ##
=======================================
  Coverage   83.54%   83.54%           
=======================================
  Files          10       10           
  Lines         717      717           
=======================================
  Hits          599      599           
  Misses        118      118           
Impacted Files Coverage Δ
pystac_client/item_search.py 92.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update caf8dd2...1e5c6d2. Read the comment docs.

@TomAugspurger
Copy link
Collaborator

TomAugspurger commented Jul 28, 2022

There's already #273. Should I close that in favor of this?

@@ -76,7 +76,7 @@

OPS = list(OP_MAP.keys())

DEFAULT_LIMIT_AND_MAX_ITEMS = 100
DEFAULT_LIMIT = 100
Copy link
Collaborator

Choose a reason for hiding this comment

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

Technically should alias this, since DEFAULT_LIMIT_AND_MAX_ITEMS is in the public API.

@gadomski
Copy link
Member

gadomski commented Aug 1, 2022

Closed in favor of #273

@gadomski gadomski closed this Aug 1, 2022
@gadomski gadomski deleted the pv/remove_max_items_default branch August 1, 2022 21:29
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.

4 participants