feat(shared): add suffix to shared config models
This commit is contained in:
parent
76069006b5
commit
b527c2704d
3 changed files with 8 additions and 8 deletions
|
@ -99,7 +99,7 @@ class BaseConfig(BaseModel):
|
|||
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
class Database(BaseModel):
|
||||
class DatabaseConfig(BaseModel):
|
||||
host: str = "localhost"
|
||||
port: int = 5432
|
||||
name: str = "libretime"
|
||||
|
@ -108,7 +108,7 @@ class Database(BaseModel):
|
|||
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
class RabbitMQ(BaseModel):
|
||||
class RabbitMQConfig(BaseModel):
|
||||
host: str = "localhost"
|
||||
port: int = 5672
|
||||
name: str = "libretime"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue