ominfra 0.0.0.dev307__py3-none-any.whl → 0.0.0.dev309__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.
- ominfra/clouds/aws/models/services/ec2.py +5 -0
- ominfra/scripts/manage.py +13 -13
- {ominfra-0.0.0.dev307.dist-info → ominfra-0.0.0.dev309.dist-info}/METADATA +3 -3
- {ominfra-0.0.0.dev307.dist-info → ominfra-0.0.0.dev309.dist-info}/RECORD +8 -8
- {ominfra-0.0.0.dev307.dist-info → ominfra-0.0.0.dev309.dist-info}/WHEEL +0 -0
- {ominfra-0.0.0.dev307.dist-info → ominfra-0.0.0.dev309.dist-info}/entry_points.txt +0 -0
- {ominfra-0.0.0.dev307.dist-info → ominfra-0.0.0.dev309.dist-info}/licenses/LICENSE +0 -0
- {ominfra-0.0.0.dev307.dist-info → ominfra-0.0.0.dev309.dist-info}/top_level.txt +0 -0
@@ -2270,6 +2270,11 @@ class EbsBlockDevice(
|
|
2270
2270
|
shape_name='Boolean',
|
2271
2271
|
))
|
2272
2272
|
|
2273
|
+
volume_initialization_rate: int | None = _dc.field(default=None, metadata=_base.field_metadata(
|
2274
|
+
member_name='VolumeInitializationRate',
|
2275
|
+
shape_name='Integer',
|
2276
|
+
))
|
2277
|
+
|
2273
2278
|
|
2274
2279
|
@_dc.dataclass(frozen=True, kw_only=True)
|
2275
2280
|
class EbsOptimizedInfo(
|
ominfra/scripts/manage.py
CHANGED
@@ -103,7 +103,7 @@ CheckExceptionFactory = ta.Callable[..., Exception] # ta.TypeAlias
|
|
103
103
|
CheckArgsRenderer = ta.Callable[..., ta.Optional[str]] # ta.TypeAlias
|
104
104
|
|
105
105
|
# ../../omlish/lite/timeouts.py
|
106
|
-
TimeoutLike = ta.Union['Timeout', ta.Type['Timeout.
|
106
|
+
TimeoutLike = ta.Union['Timeout', ta.Type['Timeout.DEFAULT'], ta.Iterable['TimeoutLike'], float, None] # ta.TypeAlias
|
107
107
|
|
108
108
|
# ../../omlish/lite/typing.py
|
109
109
|
A0 = ta.TypeVar('A0')
|
@@ -3262,7 +3262,7 @@ class Timeout(abc.ABC):
|
|
3262
3262
|
|
3263
3263
|
#
|
3264
3264
|
|
3265
|
-
class
|
3265
|
+
class DEFAULT: # Noqa
|
3266
3266
|
def __new__(cls, *args, **kwargs): # noqa
|
3267
3267
|
raise TypeError
|
3268
3268
|
|
@@ -3273,7 +3273,7 @@ class Timeout(abc.ABC):
|
|
3273
3273
|
@classmethod
|
3274
3274
|
def of(
|
3275
3275
|
cls,
|
3276
|
-
obj:
|
3276
|
+
obj: TimeoutLike,
|
3277
3277
|
default: ta.Union[TimeoutLike, ta.Type[_NOT_SPECIFIED]] = _NOT_SPECIFIED,
|
3278
3278
|
) -> 'Timeout':
|
3279
3279
|
if obj is None:
|
@@ -3288,8 +3288,8 @@ class Timeout(abc.ABC):
|
|
3288
3288
|
elif isinstance(obj, ta.Iterable):
|
3289
3289
|
return CompositeTimeout(*[Timeout.of(c) for c in obj])
|
3290
3290
|
|
3291
|
-
elif obj is Timeout.
|
3292
|
-
if default is Timeout._NOT_SPECIFIED or default is Timeout.
|
3291
|
+
elif obj is Timeout.DEFAULT:
|
3292
|
+
if default is Timeout._NOT_SPECIFIED or default is Timeout.DEFAULT:
|
3293
3293
|
raise RuntimeError('Must specify a default timeout')
|
3294
3294
|
|
3295
3295
|
else:
|
@@ -5379,7 +5379,7 @@ class ArgparseCli:
|
|
5379
5379
|
|
5380
5380
|
def asyncio_maybe_timeout(
|
5381
5381
|
fut: AwaitableT,
|
5382
|
-
timeout:
|
5382
|
+
timeout: TimeoutLike = None,
|
5383
5383
|
) -> AwaitableT:
|
5384
5384
|
if timeout is not None:
|
5385
5385
|
fut = asyncio.wait_for(fut, Timeout.of(timeout)()) # type: ignore
|
@@ -7782,7 +7782,7 @@ class SubprocessRunOutput(ta.Generic[T]):
|
|
7782
7782
|
class SubprocessRun:
|
7783
7783
|
cmd: ta.Sequence[str]
|
7784
7784
|
input: ta.Any = None
|
7785
|
-
timeout:
|
7785
|
+
timeout: TimeoutLike = None
|
7786
7786
|
check: bool = False
|
7787
7787
|
capture_output: ta.Optional[bool] = None
|
7788
7788
|
kwargs: ta.Optional[ta.Mapping[str, ta.Any]] = None
|
@@ -7818,7 +7818,7 @@ class SubprocessRun:
|
|
7818
7818
|
cls,
|
7819
7819
|
*cmd: str,
|
7820
7820
|
input: ta.Any = None, # noqa
|
7821
|
-
timeout:
|
7821
|
+
timeout: TimeoutLike = None,
|
7822
7822
|
check: bool = False, # noqa
|
7823
7823
|
capture_output: ta.Optional[bool] = None,
|
7824
7824
|
**kwargs: ta.Any,
|
@@ -10343,7 +10343,7 @@ class AbstractAsyncSubprocesses(BaseSubprocesses):
|
|
10343
10343
|
self,
|
10344
10344
|
*cmd: str,
|
10345
10345
|
input: ta.Any = None, # noqa
|
10346
|
-
timeout:
|
10346
|
+
timeout: TimeoutLike = None,
|
10347
10347
|
check: bool = False,
|
10348
10348
|
capture_output: ta.Optional[bool] = None,
|
10349
10349
|
**kwargs: ta.Any,
|
@@ -10439,7 +10439,7 @@ class AbstractSubprocesses(BaseSubprocesses, abc.ABC):
|
|
10439
10439
|
self,
|
10440
10440
|
*cmd: str,
|
10441
10441
|
input: ta.Any = None, # noqa
|
10442
|
-
timeout:
|
10442
|
+
timeout: TimeoutLike = None,
|
10443
10443
|
check: bool = False,
|
10444
10444
|
capture_output: ta.Optional[bool] = None,
|
10445
10445
|
**kwargs: ta.Any,
|
@@ -10840,7 +10840,7 @@ class AsyncioProcessCommunicator:
|
|
10840
10840
|
async def communicate(
|
10841
10841
|
self,
|
10842
10842
|
input: ta.Any = None, # noqa
|
10843
|
-
timeout:
|
10843
|
+
timeout: TimeoutLike = None,
|
10844
10844
|
) -> Communication:
|
10845
10845
|
return await asyncio_maybe_timeout(self._communicate(input), timeout)
|
10846
10846
|
|
@@ -10853,7 +10853,7 @@ class AsyncioSubprocesses(AbstractAsyncSubprocesses):
|
|
10853
10853
|
self,
|
10854
10854
|
proc: asyncio.subprocess.Process,
|
10855
10855
|
input: ta.Any = None, # noqa
|
10856
|
-
timeout:
|
10856
|
+
timeout: TimeoutLike = None,
|
10857
10857
|
) -> ta.Tuple[ta.Optional[bytes], ta.Optional[bytes]]:
|
10858
10858
|
return await AsyncioProcessCommunicator(proc).communicate(input, timeout) # noqa
|
10859
10859
|
|
@@ -10864,7 +10864,7 @@ class AsyncioSubprocesses(AbstractAsyncSubprocesses):
|
|
10864
10864
|
self,
|
10865
10865
|
*cmd: str,
|
10866
10866
|
shell: bool = False,
|
10867
|
-
timeout:
|
10867
|
+
timeout: TimeoutLike = None,
|
10868
10868
|
**kwargs: ta.Any,
|
10869
10869
|
) -> ta.AsyncGenerator[asyncio.subprocess.Process, None]:
|
10870
10870
|
with self.prepare_and_wrap( *cmd, shell=shell, **kwargs) as (cmd, kwargs): # noqa
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ominfra
|
3
|
-
Version: 0.0.0.
|
3
|
+
Version: 0.0.0.dev309
|
4
4
|
Summary: ominfra
|
5
5
|
Author: wrmsr
|
6
6
|
License: BSD-3-Clause
|
@@ -12,8 +12,8 @@ Classifier: Operating System :: OS Independent
|
|
12
12
|
Classifier: Operating System :: POSIX
|
13
13
|
Requires-Python: >=3.12
|
14
14
|
License-File: LICENSE
|
15
|
-
Requires-Dist: omdev==0.0.0.
|
16
|
-
Requires-Dist: omlish==0.0.0.
|
15
|
+
Requires-Dist: omdev==0.0.0.dev309
|
16
|
+
Requires-Dist: omlish==0.0.0.dev309
|
17
17
|
Provides-Extra: all
|
18
18
|
Requires-Dist: paramiko~=3.5; extra == "all"
|
19
19
|
Requires-Dist: asyncssh~=2.21; extra == "all"
|
@@ -30,7 +30,7 @@ ominfra/clouds/aws/models/gen/__main__.py,sha256=Jsrv3P7LX2Cg08W7ByZfZ1JQT4lgLDP
|
|
30
30
|
ominfra/clouds/aws/models/gen/cli.py,sha256=vcI8_-BOv4f-s_TFAqvnyzvBexZ_9y5akiUEGfioCqA,3857
|
31
31
|
ominfra/clouds/aws/models/gen/gen.py,sha256=--CAg8rf5ipWCI__vFvxLOCqhQm6ojY0Lgt4bnY9A5I,15872
|
32
32
|
ominfra/clouds/aws/models/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
33
|
-
ominfra/clouds/aws/models/services/ec2.py,sha256=
|
33
|
+
ominfra/clouds/aws/models/services/ec2.py,sha256=99C91jujXO89Oi0i0ysSQp_PjDSlpz4fnPbJtM9aw0w,267952
|
34
34
|
ominfra/clouds/aws/models/services/lambda_.py,sha256=HgowsHzDFf6NJrYY92TM0fmApNt5qlz8uf9j524SdbU,25803
|
35
35
|
ominfra/clouds/aws/models/services/rds.py,sha256=EOKwucUbLpkEF2xYJRso4h9fcOz_jh1aVpclDDwmgc4,59739
|
36
36
|
ominfra/clouds/aws/models/services/s3.py,sha256=SJPiQpaFb6yg6WizOPPn064ILBjTzLg-sNNo_CxbKew,51004
|
@@ -113,7 +113,7 @@ ominfra/manage/targets/inject.py,sha256=P4597xWM-V3I_gCt2O71OLhYQkkXtuJvkYRsIbhh
|
|
113
113
|
ominfra/manage/targets/targets.py,sha256=7GP6UAZyJFEhpkJN6UQdpr_WN3p7C76v-s445y-WB6U,1885
|
114
114
|
ominfra/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
115
115
|
ominfra/scripts/journald2aws.py,sha256=pX5hD_O_oteVS4JdQP4n8NATQcVkGCQ1eyxio35ZjBw,171636
|
116
|
-
ominfra/scripts/manage.py,sha256=
|
116
|
+
ominfra/scripts/manage.py,sha256=Vzeo_UWOFsWhzwwRFcKG1vEcpeZgHTQXfF_Q_6-L7T8,381995
|
117
117
|
ominfra/scripts/supervisor.py,sha256=exHXaTr8YApCuDldgCXwttMd8CGsqqf8eUb2Qn-K3sE,300275
|
118
118
|
ominfra/supervisor/LICENSE.txt,sha256=ZrHY15PVR98y26Yg6iQfa-SXnUaYTDhrUsPVcEO5OKM,1874
|
119
119
|
ominfra/supervisor/__init__.py,sha256=Y3l4WY4JRi2uLG6kgbGp93fuGfkxkKwZDvhsa0Rwgtk,15
|
@@ -156,9 +156,9 @@ ominfra/tailscale/api.py,sha256=C5-t_b6jZXUWcy5k8bXm7CFnk73pSdrlMOgGDeGVrpw,1370
|
|
156
156
|
ominfra/tailscale/cli.py,sha256=zRV7-tKB7kBah1oTVZlol-vwx1FBlnfzYAPGkeU5jX4,3543
|
157
157
|
ominfra/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
158
158
|
ominfra/tools/listresources.py,sha256=auGP1LlbBJSFKUWNvQo_UzA8IsBNZBTMwEkFFRJ4FX4,6185
|
159
|
-
ominfra-0.0.0.
|
160
|
-
ominfra-0.0.0.
|
161
|
-
ominfra-0.0.0.
|
162
|
-
ominfra-0.0.0.
|
163
|
-
ominfra-0.0.0.
|
164
|
-
ominfra-0.0.0.
|
159
|
+
ominfra-0.0.0.dev309.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
|
160
|
+
ominfra-0.0.0.dev309.dist-info/METADATA,sha256=F1ndaVYQdn6ddbu11uAowmRNq41D511FeDhOvTdFoSc,753
|
161
|
+
ominfra-0.0.0.dev309.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
162
|
+
ominfra-0.0.0.dev309.dist-info/entry_points.txt,sha256=kgecQ2MgGrM9qK744BoKS3tMesaC3yjLnl9pa5CRczg,37
|
163
|
+
ominfra-0.0.0.dev309.dist-info/top_level.txt,sha256=E-b2OHkk_AOBLXHYZQ2EOFKl-_6uOGd8EjeG-Zy6h_w,8
|
164
|
+
ominfra-0.0.0.dev309.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|