maleo-managers 0.0.12__py3-none-any.whl → 0.0.14__py3-none-any.whl

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/config.py CHANGED
@@ -5,7 +5,7 @@ from maleo.database.config import (
5
5
  ConfigsT as DatabaseConfigsT,
6
6
  ConfigsMixin as DatabaseConfigMixin,
7
7
  )
8
- from maleo.dtos.settings import ServiceSettings
8
+ from maleo.dtos.settings import ServiceSettingsT
9
9
  from maleo.google.pubsub import (
10
10
  ConfigT as PubSubConfigT,
11
11
  ConfigMixin as PubSubConfigMixin,
@@ -33,10 +33,10 @@ class Config(
33
33
  ConfigT = TypeVar("ConfigT", bound=Config)
34
34
 
35
35
 
36
- class ConfigManager(Generic[ConfigT]):
36
+ class ConfigManager(Generic[ServiceSettingsT, ConfigT]):
37
37
  def __init__(
38
38
  self,
39
- settings: ServiceSettings,
39
+ settings: ServiceSettingsT,
40
40
  secret_manager: GoogleSecretManager,
41
41
  config_cls: Type[ConfigT],
42
42
  operation_id: OptionalUUID = None,
maleo/managers/key.py CHANGED
@@ -1,13 +1,14 @@
1
- from maleo.dtos.settings import ServiceSettings
1
+ from typing import Generic
2
+ from maleo.dtos.settings import ServiceSettingsT
2
3
  from maleo.google.secret import Format, GoogleSecretManager
3
4
  from maleo.dtos.key.rsa import Complete
4
5
  from maleo.types.base.uuid import OptionalUUID
5
6
 
6
7
 
7
- class RSAKeyManager:
8
+ class RSAKeyManager(Generic[ServiceSettingsT]):
8
9
  def __init__(
9
10
  self,
10
- settings: ServiceSettings,
11
+ settings: ServiceSettingsT,
11
12
  secret_manager: GoogleSecretManager,
12
13
  operation_id: OptionalUUID = None,
13
14
  ) -> None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo-managers
3
- Version: 0.0.12
3
+ Version: 0.0.14
4
4
  Summary: Managers package for MaleoSuite
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: Proprietary
@@ -1,15 +1,15 @@
1
1
  maleo/managers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- maleo/managers/config.py,sha256=YUCNkd09DjGU7QIuLqRx0IW7NZPxJDWasrflTtPMsjs,2039
2
+ maleo/managers/config.py,sha256=93FetA38gk3TJ5kl_iYH21-e9Z1_lL1DxxhxrPf0ZjA,2059
3
3
  maleo/managers/credential.py,sha256=-acqO72GeNrd_YfMQ9MkhZgWXf-jsNMYTId4ILkwBwI,4087
4
- maleo/managers/key.py,sha256=CFm3-uLpzmzFmnTEMPTg5rSRxs4Y3HOVNbAgajfP9G4,1407
4
+ maleo/managers/key.py,sha256=aC-Cd76e_4uTl8M8gE2SHgTtWgwhY_zygP80SlyWHkw,1463
5
5
  maleo/managers/service.py,sha256=Xf6jG5K-IVmbA00rayBeXuM4AaIrQ7mM4RKAU-26mcI,4089
6
6
  maleo/managers/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  maleo/managers/client/config.py,sha256=ySx6w9vmFYWHNm3lqO6OY_v1l8pKhQeCtCP7h1txxKE,466
8
8
  maleo/managers/client/http.py,sha256=sPPqCbJsNcyIzcZbDv8Sga_fnXJDM812j8qSLLd6QOg,790
9
9
  maleo/managers/client/maleo/__init__.py,sha256=8twb4XguV4GvRlR6eBtGA1XEgAuqei-1QHf7zRtxnfU,6423
10
10
  maleo/managers/client/maleo/config.py,sha256=fRzsTn-LI6lfuxPNjjhhjl8Ag5ovAttUF2E-W9CB91s,2590
11
- maleo_managers-0.0.12.dist-info/licenses/LICENSE,sha256=aftGsecnk7TWVX-7KW94FqK4Syy6YSZ8PZEF7EcIp3M,2621
12
- maleo_managers-0.0.12.dist-info/METADATA,sha256=GEiWxOr5Kx-TmebRS7FoqbsdMppHRU_gls0yghggYrA,4282
13
- maleo_managers-0.0.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
14
- maleo_managers-0.0.12.dist-info/top_level.txt,sha256=3Tpd1siVsfYoeI9FEOJNYnffx_shzZ3wsPpTvz5bljc,6
15
- maleo_managers-0.0.12.dist-info/RECORD,,
11
+ maleo_managers-0.0.14.dist-info/licenses/LICENSE,sha256=aftGsecnk7TWVX-7KW94FqK4Syy6YSZ8PZEF7EcIp3M,2621
12
+ maleo_managers-0.0.14.dist-info/METADATA,sha256=4IIgftLv9r1oyIPOKveqBdTkXAJzambi4suvO8-uLcs,4282
13
+ maleo_managers-0.0.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
14
+ maleo_managers-0.0.14.dist-info/top_level.txt,sha256=3Tpd1siVsfYoeI9FEOJNYnffx_shzZ3wsPpTvz5bljc,6
15
+ maleo_managers-0.0.14.dist-info/RECORD,,