|
|
@@ -219,6 +219,7 @@ class GlobalConfig:
|
|
|
property: PropertyConfig = field(default_factory=PropertyConfig)
|
|
|
prices: DefaultPrices = field(default_factory=DefaultPrices)
|
|
|
reservation_window_days: int = 90
|
|
|
+ long_window_days: int = 400
|
|
|
busy_calendar_name: str = 'Busy'
|
|
|
|
|
|
@classmethod
|
|
|
@@ -228,6 +229,7 @@ class GlobalConfig:
|
|
|
property=PropertyConfig.from_dict(d.get('property', {})),
|
|
|
prices=DefaultPrices.from_dict(d.get('prices', {})),
|
|
|
reservation_window_days=d.get('reservation_window_days', 90),
|
|
|
+ long_window_days=d.get('long_window_days', 400),
|
|
|
busy_calendar_name=d.get('busy_calendar_name', 'Busy'),
|
|
|
)
|
|
|
|