We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f18de0e commit 1e90d92Copy full SHA for 1e90d92
1 file changed
python/PiFinder/catalog_imports/database.py
@@ -4,11 +4,16 @@
4
This module provides centralized access to database objects for all catalog loaders.
5
"""
6
7
+from typing import Optional
8
+
9
+from PiFinder.db.objects_db import ObjectsDatabase
10
+from PiFinder.db.observations_db import ObservationsDatabase
11
12
from .catalog_import_utils import init_databases
13
14
# Global database objects shared across all catalog loaders
-objects_db = None
-observations_db = None
15
+objects_db: Optional[ObjectsDatabase] = None
16
+observations_db: Optional[ObservationsDatabase] = None
17
18
19
def init_shared_database():
0 commit comments