-
Notifications
You must be signed in to change notification settings - Fork 116
use pydantic settings #657
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -22,6 +22,11 @@ class ApiSettings(BaseSettings): | |||
| # `pydantic.BaseSettings` instead | ||||
| default_includes: Optional[Set[str]] = None | ||||
|
|
||||
| stac_fastapi_title: str = "stac-fastapi" | ||||
| stac_fastapi_description: str = "stac-fastapi" | ||||
| stac_fastapi_version: str = "0.1" | ||||
| stac_fastapi_landing_id: str = "stac-fastapi" | ||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've also reverted to
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks good to me. The version is the version number of the User's stac_fastapi, not this version ie. soon to be 2.5.0 |
||||
|
|
||||
| app_host: str = "0.0.0.0" | ||||
| app_port: int = 8000 | ||||
| reload: bool = True | ||||
|
|
||||
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.
as discussed in #639 I think it makes more sense for this variable to be named
landing_id