maleo-managers 0.0.14__tar.gz → 0.0.16__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/PKG-INFO +1 -1
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/maleo_managers.egg-info/PKG-INFO +1 -1
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/pyproject.toml +1 -1
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/src/service.py +4 -3
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/LICENSE +0 -0
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/README.md +0 -0
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/maleo_managers.egg-info/SOURCES.txt +0 -0
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/maleo_managers.egg-info/dependency_links.txt +0 -0
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/maleo_managers.egg-info/requires.txt +0 -0
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/maleo_managers.egg-info/top_level.txt +0 -0
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/setup.cfg +0 -0
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/src/__init__.py +0 -0
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/src/client/__init__.py +0 -0
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/src/client/config.py +0 -0
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/src/client/http.py +0 -0
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/src/client/maleo/__init__.py +0 -0
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/src/client/maleo/config.py +0 -0
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/src/config.py +0 -0
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/src/credential.py +0 -0
- {maleo_managers-0.0.14 → maleo_managers-0.0.16}/src/key.py +0 -0
@@ -6,7 +6,6 @@ from google.oauth2.service_account import Credentials
|
|
6
6
|
from pydantic import ValidationError
|
7
7
|
from starlette.exceptions import HTTPException
|
8
8
|
from starlette.types import Lifespan, AppType
|
9
|
-
from sqlalchemy import MetaData
|
10
9
|
from typing import Generic, Optional
|
11
10
|
from uuid import UUID
|
12
11
|
from maleo.dtos.settings import ServiceSettingsT
|
@@ -34,14 +33,12 @@ class ServiceManager(ABC, Generic[ServiceSettingsT, ConfigT]):
|
|
34
33
|
|
35
34
|
def __init__(
|
36
35
|
self,
|
37
|
-
db_metadata: MetaData,
|
38
36
|
google_credentials: Credentials,
|
39
37
|
log_config: LogConfig,
|
40
38
|
settings: ServiceSettingsT,
|
41
39
|
config: ConfigT,
|
42
40
|
keys: Complete,
|
43
41
|
):
|
44
|
-
self._db_metadata = db_metadata
|
45
42
|
self._google_credentials = google_credentials
|
46
43
|
self._log_config = log_config
|
47
44
|
self._settings = settings
|
@@ -69,6 +66,10 @@ class ServiceManager(ABC, Generic[ServiceSettingsT, ConfigT]):
|
|
69
66
|
def _initialize_database(self):
|
70
67
|
"""Initialize all given databases"""
|
71
68
|
|
69
|
+
@abstractmethod
|
70
|
+
def _initialize_google_cloud_storage(self):
|
71
|
+
"""Initialize Google Cloud Storage"""
|
72
|
+
|
72
73
|
def create_app(
|
73
74
|
self,
|
74
75
|
operation_id: UUID,
|
File without changes
|
File without changes
|
File without changes
|
{maleo_managers-0.0.14 → maleo_managers-0.0.16}/maleo_managers.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|