Set None as default value for optional settings
This commit is contained in:
parent
4dd762ed13
commit
84b674b427
1 changed files with 3 additions and 3 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue