1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

20 lines
401 B
Python
Raw Normal View History

2021-09-15 18:25:37 -07:00
"""Access hyperglass global system settings."""
2021-09-15 00:57:45 -07:00
# Standard Library
import typing as t
if t.TYPE_CHECKING:
# Local
2021-09-22 22:30:16 -07:00
from .models.system import HyperglassSettings
2021-09-15 00:57:45 -07:00
2021-09-22 22:30:16 -07:00
def _system_settings() -> "HyperglassSettings":
2021-09-15 00:57:45 -07:00
"""Get system settings from local environment."""
# Local
2021-09-22 22:30:16 -07:00
from .models.system import HyperglassSettings
2021-09-15 00:57:45 -07:00
2021-09-22 22:30:16 -07:00
return HyperglassSettings()
2021-09-15 00:57:45 -07:00
Settings = _system_settings()