mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
24 lines
702 B
Python
24 lines
702 B
Python
"""
|
|
Defines models for all Params variables.
|
|
|
|
Imports config variables and overrides default class attributes.
|
|
|
|
Validates input for overridden parameters.
|
|
"""
|
|
|
|
# Third Party Imports
|
|
from hyperglass.configuration.models.branding import Branding
|
|
from hyperglass.configuration.models.features import Features
|
|
from hyperglass.configuration.models.general import General
|
|
from hyperglass.configuration.models.messages import Messages
|
|
from hyperglass.configuration.models._utils import HyperglassModel
|
|
|
|
|
|
class Params(HyperglassModel):
|
|
"""Base model for params"""
|
|
|
|
general: General = General()
|
|
features: Features = Features()
|
|
branding: Branding = Branding()
|
|
messages: Messages = Messages()
|