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 sort param support in CDX API class #156

Merged
merged 1 commit into from
Feb 17, 2022
Merged

add sort param support in CDX API class #156

merged 1 commit into from
Feb 17, 2022

Conversation

akamhy
Copy link
Owner

@akamhy akamhy commented Feb 17, 2022

see https://nla.github.io/outbackcdx/api.html#operation/query

sort takes string input which must be one of the follwoing:

  • default
  • closest
  • reverse

This commit shall help in closing issue at #155

see https://nla.github.io/outbackcdx/api.html#operation/query

sort takes string input which must be one of the follwoing:
- default
- closest
- reverse

This commit shall help in closing issue at #155
@codecov
Copy link

codecov bot commented Feb 17, 2022

Codecov Report

Merging #156 (b4adf4a) into master (f63c6ad) will decrease coverage by 0.04%.
The diff coverage is 91.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #156      +/-   ##
==========================================
- Coverage   94.24%   94.19%   -0.05%     
==========================================
  Files          10       10              
  Lines         608      620      +12     
==========================================
+ Hits          573      584      +11     
- Misses         35       36       +1     
Impacted Files Coverage Δ
waybackpy/cdx_api.py 89.62% <75.00%> (-0.58%) ⬇️
waybackpy/cdx_utils.py 98.61% <100.00%> (+0.17%) ⬆️

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 f63c6ad...b4adf4a. Read the comment docs.

@akamhy akamhy added the enhancement New feature or request label Feb 17, 2022
@akamhy
Copy link
Owner Author

akamhy commented Feb 17, 2022

Ignoring the coverage for now as it should be ok after we add the near, newest, and oldest methods in the CDX class along with the tests.

@akamhy akamhy merged commit 3a44a71 into master Feb 17, 2022
@akamhy akamhy deleted the add-sort-in-cdx branch February 17, 2022 06:47
@akamhy akamhy restored the add-sort-in-cdx branch February 17, 2022 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant