Skip to content

feat: Add PREFIX_PATH config#268

Merged
vincentsarago merged 3 commits intostac-utils:mainfrom
fabito:feature/add-prefix-path-config
Aug 8, 2025
Merged

feat: Add PREFIX_PATH config#268
vincentsarago merged 3 commits intostac-utils:mainfrom
fabito:feature/add-prefix-path-config

Conversation

@fabito
Copy link
Copy Markdown
Contributor

@fabito fabito commented Jul 16, 2025

Related Issue(s):

Description:
This adds a new config PREFIX_PATH that is used when instantiating a StacApi by passing the router kwarg: router=APIRouter(prefix=settings.prefix_path)

The new setting is documented and the default value is an empty string.

PR Checklist:

  • pre-commit hooks pass locally
  • Tests pass (run make test)
  • Documentation has been updated to reflect changes, if applicable, and docs build successfully (run make docs)
  • Changes are added to the CHANGELOG.

This adds a new config `PREFIX_PATH` that is used when instantiating a StacApi by passing the router kwarg:
router=APIRouter(prefix=settings.prefix_path)

The new setting is documented and the default value is an empty string.
@fabito fabito marked this pull request as ready for review July 16, 2025 23:53
@vincentsarago vincentsarago mentioned this pull request Aug 7, 2025
@vincentsarago vincentsarago merged commit 4f0d946 into stac-utils:main Aug 8, 2025
7 checks passed
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