ominfra 0.0.0.dev124__py3-none-any.whl → 0.0.0.dev125__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- ominfra/deploy/poly/_main.py +2 -6
- ominfra/deploy/poly/base.py +7 -8
- ominfra/scripts/supervisor.py +265 -148
- ominfra/supervisor/LICENSE.txt +19 -19
- ominfra/supervisor/context.py +5 -5
- ominfra/supervisor/dispatchers.py +5 -5
- ominfra/supervisor/events.py +3 -3
- ominfra/supervisor/groups.py +12 -18
- ominfra/supervisor/inject.py +10 -27
- ominfra/supervisor/main.py +30 -2
- ominfra/supervisor/process.py +8 -8
- ominfra/supervisor/supervisor.py +11 -16
- ominfra/supervisor/types.py +51 -6
- {ominfra-0.0.0.dev124.dist-info → ominfra-0.0.0.dev125.dist-info}/METADATA +3 -3
- {ominfra-0.0.0.dev124.dist-info → ominfra-0.0.0.dev125.dist-info}/RECORD +19 -19
- {ominfra-0.0.0.dev124.dist-info → ominfra-0.0.0.dev125.dist-info}/LICENSE +0 -0
- {ominfra-0.0.0.dev124.dist-info → ominfra-0.0.0.dev125.dist-info}/WHEEL +0 -0
- {ominfra-0.0.0.dev124.dist-info → ominfra-0.0.0.dev125.dist-info}/entry_points.txt +0 -0
- {ominfra-0.0.0.dev124.dist-info → ominfra-0.0.0.dev125.dist-info}/top_level.txt +0 -0
ominfra/deploy/poly/_main.py
CHANGED
@@ -39,7 +39,9 @@ T = ta.TypeVar('T')
|
|
39
39
|
# ../base.py
|
40
40
|
ConcernT = ta.TypeVar('ConcernT')
|
41
41
|
ConfigT = ta.TypeVar('ConfigT')
|
42
|
+
SiteConcernT = ta.TypeVar('SiteConcernT', bound='SiteConcern')
|
42
43
|
SiteConcernConfigT = ta.TypeVar('SiteConcernConfigT', bound='SiteConcernConfig')
|
44
|
+
DeployConcernT = ta.TypeVar('DeployConcernT', bound='DeployConcern')
|
43
45
|
DeployConcernConfigT = ta.TypeVar('DeployConcernConfigT', bound='DeployConcernConfig')
|
44
46
|
|
45
47
|
|
@@ -239,9 +241,6 @@ class ConcernsContainer(abc.ABC, ta.Generic[ConcernT, ConfigT]):
|
|
239
241
|
##
|
240
242
|
|
241
243
|
|
242
|
-
SiteConcernT = ta.TypeVar('SiteConcernT', bound='SiteConcern')
|
243
|
-
|
244
|
-
|
245
244
|
class SiteConcern(abc.ABC, ta.Generic[SiteConcernConfigT]):
|
246
245
|
def __init__(self, config: SiteConcernConfigT, site: 'Site') -> None:
|
247
246
|
super().__init__()
|
@@ -269,9 +268,6 @@ class Site(ConcernsContainer[SiteConcern, SiteConfig]):
|
|
269
268
|
##
|
270
269
|
|
271
270
|
|
272
|
-
DeployConcernT = ta.TypeVar('DeployConcernT', bound='DeployConcern')
|
273
|
-
|
274
|
-
|
275
271
|
class DeployConcern(abc.ABC, ta.Generic[DeployConcernConfigT]):
|
276
272
|
def __init__(self, config: DeployConcernConfigT, deploy: 'Deploy') -> None:
|
277
273
|
super().__init__()
|
ominfra/deploy/poly/base.py
CHANGED
@@ -10,9 +10,16 @@ from .configs import SiteConfig
|
|
10
10
|
|
11
11
|
|
12
12
|
T = ta.TypeVar('T')
|
13
|
+
|
13
14
|
ConcernT = ta.TypeVar('ConcernT')
|
14
15
|
ConfigT = ta.TypeVar('ConfigT')
|
15
16
|
|
17
|
+
SiteConcernT = ta.TypeVar('SiteConcernT', bound='SiteConcern')
|
18
|
+
SiteConcernConfigT = ta.TypeVar('SiteConcernConfigT', bound='SiteConcernConfig')
|
19
|
+
|
20
|
+
DeployConcernT = ta.TypeVar('DeployConcernT', bound='DeployConcern')
|
21
|
+
DeployConcernConfigT = ta.TypeVar('DeployConcernConfigT', bound='DeployConcernConfig')
|
22
|
+
|
16
23
|
|
17
24
|
##
|
18
25
|
|
@@ -112,10 +119,6 @@ class ConcernsContainer(abc.ABC, ta.Generic[ConcernT, ConfigT]):
|
|
112
119
|
##
|
113
120
|
|
114
121
|
|
115
|
-
SiteConcernT = ta.TypeVar('SiteConcernT', bound='SiteConcern')
|
116
|
-
SiteConcernConfigT = ta.TypeVar('SiteConcernConfigT', bound='SiteConcernConfig')
|
117
|
-
|
118
|
-
|
119
122
|
class SiteConcern(abc.ABC, ta.Generic[SiteConcernConfigT]):
|
120
123
|
def __init__(self, config: SiteConcernConfigT, site: 'Site') -> None:
|
121
124
|
super().__init__()
|
@@ -143,10 +146,6 @@ class Site(ConcernsContainer[SiteConcern, SiteConfig]):
|
|
143
146
|
##
|
144
147
|
|
145
148
|
|
146
|
-
DeployConcernT = ta.TypeVar('DeployConcernT', bound='DeployConcern')
|
147
|
-
DeployConcernConfigT = ta.TypeVar('DeployConcernConfigT', bound='DeployConcernConfig')
|
148
|
-
|
149
|
-
|
150
149
|
class DeployConcern(abc.ABC, ta.Generic[DeployConcernConfigT]):
|
151
150
|
def __init__(self, config: DeployConcernConfigT, deploy: 'Deploy') -> None:
|
152
151
|
super().__init__()
|