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:
Jonas L 2022-01-24 14:24:16 +01:00 committed by GitHub
parent d93fb44356
commit 1924919e18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 24 deletions

View file

@ -2,4 +2,4 @@ from libretime_shared.config import BaseConfig, RabbitMQConfig
class Config(BaseConfig):
rabbitmq = RabbitMQConfig()
rabbitmq: RabbitMQConfig = RabbitMQConfig()