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.
@@ -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__()
@@ -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__()