This repository was archived by the owner on Apr 2, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Feat/tr/pagination #123
Merged
Merged
Feat/tr/pagination #123
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
152a227
feat: adding input parameters to endpoint functions for /orders for p…
theodorehreuter 0dcf05b
feat: applying new Orders class and test is breaking in the expected,…
theodorehreuter 7734317
feat: correctly adding pagination link object to top level collection…
theodorehreuter 16f4dc2
feat: tighened up logic in root_router.py to only add pagination link…
theodorehreuter e0fa4e7
poetry.lock
theodorehreuter 90d0ebd
feat: updating lock file header fix: fix previous commit message
theodorehreuter 53afb66
feat: rework test backend to make code smoother feat: use default f…
theodorehreuter 723e645
feat: update Failure logic in root_router get_orders to return 404 fo…
theodorehreuter 7b3453e
tests: tweak test name
theodorehreuter 5db53c1
tests: reworked pagination test to iterate using next tokens to keep …
theodorehreuter b690cf1
feat: tweaking mock backend to use list index look up and return empt…
theodorehreuter 068e4b2
Merge branch 'main' into feat/tr/pagination
theodorehreuter 55e1c60
tests: moving tests around to work around issue of stapi_client fixtu…
theodorehreuter 8886988
feat: clean up root backend model after messy main merge tests: fixe…
theodorehreuter 2fca5c7
tests: add limit check assertion in pagination test
theodorehreuter d3c5aa8
feat: adding pagination to GET /products endpoint in root_router.py …
theodorehreuter ac661d9
feat: adding pagination for GET orders/order_id/statuses inputs to ro…
theodorehreuter 690e44f
feat: refactoring get_products pagination based on feedback, refactor…
theodorehreuter e562d56
fix: remove unnecessar 'from e' in get_products()
theodorehreuter 1cdc145
fix: fix bug in get_products where end was not being propery calculat…
theodorehreuter af2e2ad
fix: load mock data into in memory db more cleanly for order status t…
theodorehreuter 2759ec2
feat: adding pagination for POST search_opportunities
theodorehreuter 0d5d837
tests: abstracted pagination testing out into a more generalized pagi…
theodorehreuter fb9710e
tests: extend pagination tester to inlcude rebuilding and passing POS…
theodorehreuter adf1f5f
tests: updating pagination tests and pagination_tester to check exact…
theodorehreuter cc8fd62
feat: ensure that paginated endpoints can handle limit=0 and return e…
theodorehreuter a5999bd
fix: removing uneeded comment that was used in development
theodorehreuter 9cfd146
feat: creating methods to make Links to improve readability feat: ma…
theodorehreuter 35c8f53
calculate limit override more cleanly)
theodorehreuter c148b7d
feat: slightly tweaking the body that is returned by the post request…
theodorehreuter 3a2d9c1
feat: small fixes based on PR feedback. Creating more link creation …
theodorehreuter 7949857
feat: changed so /opportunities no longer can accept query params and…
theodorehreuter a19bd34
docs: updating README.md with pagination information
theodorehreuter 4d17e1c
set python version to 3.12
theodorehreuter 3ef8146
tests: small fixes based on PR comments
theodorehreuter 33a9d38
test: add fail case to make_request match/case
theodorehreuter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.