fix(shared): type is required for default config submodel (#1536)
We cannot load submodels values from environment variables without having the submodel type annotations.
This commit is contained in:
parent
d93fb44356
commit
1924919e18
3 changed files with 21 additions and 24 deletions
|
@ -23,5 +23,5 @@ class PlayoutConfig(BaseModel):
|
|||
|
||||
|
||||
class Config(BaseConfig):
|
||||
rabbitmq = RabbitMQConfig()
|
||||
playout = PlayoutConfig()
|
||||
rabbitmq: RabbitMQConfig = RabbitMQConfig()
|
||||
playout: PlayoutConfig = PlayoutConfig()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue