-
Notifications
You must be signed in to change notification settings - Fork 102
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 APIRouter prefix #429
Conversation
0b89b2e
to
bd9253d
Compare
|
||
resp = await app_client.get(link_path) | ||
resp = await app_client.get(link_path.rsplit("/", 1)[-1]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain why this is necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
app_client
is configured with base_url
which already includes router prefix.
Will get this merged because it does solve the immediate problem (thanks for throwing together that repo) but I do think we want to circle back and be more consistent with how APIRouters are used and how |
Related Issue(s):
Description:
Add support for APIRouter prefix (pgstac backend only).
PR Checklist:
pre-commit run --all-files
)make test
)make docs
)