Created
December 10, 2020 18:56
-
-
Save Egnod/b90eaf6c0730a14bf98bbe873ba15894 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pydantic import BaseModel, Field | |
from superapp.config.database_settings import DBSettings | |
from superapp.config.faust_settings import FaustSettings | |
from superapp.config.kafka_settings import KafkaSettings | |
class AppSettings(BaseModel): | |
db: DBSettings = Field(default_factory=DBSettings) | |
faust: FaustSettings = Field(default_factory=FaustSettings) | |
kafka: KafkaSettings = Field(default_factory=KafkaSettings) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment