-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
reduce startup time of service (takes >10s to import all libraries and then ~1s to fetch everything, calculate the forecast, and write it to the db). Could analyze what modules are loaded after all the imports in main.py. See if TYPE_CHECKING helps in modules that import a lot just for typing.
Ps. similarly, the cli stuff should wait with heavy imports until the cli params are validated
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels