Set None as default value for optional settings

This commit is contained in:
Stéphane Bidoul 2023-11-19 15:58:48 +01:00
parent 4dd762ed13
commit 84b674b427

View file

@ -72,11 +72,11 @@ class Settings(BaseSettings):
] = None
# The token to use for the GitHub api calls (to query branches and pull requests,
# and report build statuses).
github_token: str | None
github_token: str | None = None
# The secret used to verify GitHub webhook signatures
github_webhook_secret: bytes | None
github_webhook_secret: bytes | None = None
# The file with the python logging configuration to use for the runboat controller.
log_config: str | None
log_config: str | None = None
# The base url where the runboat UI and API is exposed on internet.
# Used to generate backlinks in GitHub statuses
base_url: str = "http://localhost:8000"