ominfra 0.0.0.dev461__py3-none-any.whl → 0.0.0.dev463__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.

Potentially problematic release.


This version of ominfra might be problematic. Click here for more details.

@@ -1704,6 +1704,7 @@ class ResourceType(_enum.Enum):
1704
1704
  IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN = 'ipam-external-resource-verification-token'
1705
1705
  CAPACITY_BLOCK = 'capacity-block'
1706
1706
  MAC_MODIFICATION_TASK = 'mac-modification-task'
1707
+ CAPACITY_MANAGER_DATA_EXPORT = 'capacity-manager-data-export'
1707
1708
 
1708
1709
 
1709
1710
  class RootDeviceType(_enum.Enum):
ominfra/scripts/manage.py CHANGED
@@ -4076,6 +4076,12 @@ def format_num_bytes(num_bytes: int) -> str:
4076
4076
 
4077
4077
  ##
4078
4078
  # A workaround for typing deficiencies (like `Argument 2 to NewType(...) must be subclassable`).
4079
+ #
4080
+ # Note that this problem doesn't happen at runtime - it happens in mypy:
4081
+ #
4082
+ # mypy <(echo "import typing as ta; MyCallback = ta.NewType('MyCallback', ta.Callable[[], None])")
4083
+ # /dev/fd/11:1:22: error: Argument 2 to NewType(...) must be subclassable (got "Callable[[], None]") [valid-newtype]
4084
+ #
4079
4085
 
4080
4086
 
4081
4087
  @dc.dataclass(frozen=True)
@@ -3159,6 +3159,12 @@ def format_num_bytes(num_bytes: int) -> str:
3159
3159
 
3160
3160
  ##
3161
3161
  # A workaround for typing deficiencies (like `Argument 2 to NewType(...) must be subclassable`).
3162
+ #
3163
+ # Note that this problem doesn't happen at runtime - it happens in mypy:
3164
+ #
3165
+ # mypy <(echo "import typing as ta; MyCallback = ta.NewType('MyCallback', ta.Callable[[], None])")
3166
+ # /dev/fd/11:1:22: error: Argument 2 to NewType(...) must be subclassable (got "Callable[[], None]") [valid-newtype]
3167
+ #
3162
3168
 
3163
3169
 
3164
3170
  @dc.dataclass(frozen=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ominfra
3
- Version: 0.0.0.dev461
3
+ Version: 0.0.0.dev463
4
4
  Summary: ominfra
5
5
  Author: wrmsr
6
6
  License-Expression: BSD-3-Clause
@@ -14,8 +14,8 @@ Classifier: Programming Language :: Python :: 3.13
14
14
  Requires-Python: >=3.13
15
15
  Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
- Requires-Dist: omdev==0.0.0.dev461
18
- Requires-Dist: omlish==0.0.0.dev461
17
+ Requires-Dist: omdev==0.0.0.dev463
18
+ Requires-Dist: omlish==0.0.0.dev463
19
19
  Provides-Extra: all
20
20
  Requires-Dist: paramiko~=4.0; extra == "all"
21
21
  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=4pftOlyEIxDDoe73c5Z7NaJ1uhFsTBnMwmS1nlDiLOE,15903
32
32
  ominfra/clouds/aws/models/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
- ominfra/clouds/aws/models/services/ec2.py,sha256=3W5FGT6cACKGqwa933MKHrnj-AwJCBpTJ5xA8Fud3Zo,283169
33
+ ominfra/clouds/aws/models/services/ec2.py,sha256=qkoDGohtk7qJLhQB8uo2G5-M3mBBMPNvExHAlrQzUPs,283235
34
34
  ominfra/clouds/aws/models/services/lambda_.py,sha256=dp2I4ZVDb6Dci15XcjPPURUElyzH8cwhM911J_HM7Qo,25823
35
35
  ominfra/clouds/aws/models/services/rds.py,sha256=L2wzqHTgarB7o14a_RQIlcJPv1VpfvWhBqrcDUnMYVE,60295
36
36
  ominfra/clouds/aws/models/services/s3.py,sha256=aWbl4YtAiQyBfcNgerNxfWBIHZsbpFlT66JdRBYnQ9c,51426
@@ -113,8 +113,8 @@ ominfra/manage/targets/inject.py,sha256=3M4wBkxtvymq_yhiotHlTN8iydELMjVCndyp9Bq-
113
113
  ominfra/manage/targets/targets.py,sha256=LjSQrDsHEjEQMDHcxtNKmLjy0YGLXJRGPFdUjazzFIM,1918
114
114
  ominfra/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
115
115
  ominfra/scripts/journald2aws.py,sha256=VL11O_X1eDOdZNJStp8Ck0s6nEDZDPM1pSDvZKe4KzI,246776
116
- ominfra/scripts/manage.py,sha256=wk-bu3GKaDuYltTDuhDo2hDUjzl6Q2kRejtYB-fcSec,470832
117
- ominfra/scripts/supervisor.py,sha256=1IkjsoVhdFZ_9O2fkBlNklhHpOAJmO0yiJagIg_BXEg,381142
116
+ ominfra/scripts/manage.py,sha256=gLa1erg9cYrImHJh4PdISCRJ3hyHvPFY6wRATbJmbhQ,471132
117
+ ominfra/scripts/supervisor.py,sha256=52o62rVdOkkUoKVbdW5V8XhBsxiZkhpUMjsYBl94x40,381442
118
118
  ominfra/supervisor/LICENSE.txt,sha256=ZrHY15PVR98y26Yg6iQfa-SXnUaYTDhrUsPVcEO5OKM,1874
119
119
  ominfra/supervisor/__init__.py,sha256=Y3l4WY4JRi2uLG6kgbGp93fuGfkxkKwZDvhsa0Rwgtk,15
120
120
  ominfra/supervisor/__main__.py,sha256=I0yFw-C08OOiZ3BF6lF1Oiv789EQXu-_j6whDhQUTEA,66
@@ -156,9 +156,9 @@ ominfra/tailscale/api.py,sha256=XASv9C_CWI-u-yX5jVzhJrkJhlwQRkYQWQQG1uJwAd8,1375
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=ePmo7cUAiBZARkM_3K4GKYZXxV73An_aioS1m-AAJis,6181
159
- ominfra-0.0.0.dev461.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
160
- ominfra-0.0.0.dev461.dist-info/METADATA,sha256=kURzQtsfEzXUBDToc2RK_XstjnJpexYa-eXs6LCyzgw,2377
161
- ominfra-0.0.0.dev461.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
162
- ominfra-0.0.0.dev461.dist-info/entry_points.txt,sha256=kgecQ2MgGrM9qK744BoKS3tMesaC3yjLnl9pa5CRczg,37
163
- ominfra-0.0.0.dev461.dist-info/top_level.txt,sha256=E-b2OHkk_AOBLXHYZQ2EOFKl-_6uOGd8EjeG-Zy6h_w,8
164
- ominfra-0.0.0.dev461.dist-info/RECORD,,
159
+ ominfra-0.0.0.dev463.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
160
+ ominfra-0.0.0.dev463.dist-info/METADATA,sha256=HTQtB9EDOScxedV8tGZJ3NbGH_UJp-GUa5zsZye1JDg,2377
161
+ ominfra-0.0.0.dev463.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
162
+ ominfra-0.0.0.dev463.dist-info/entry_points.txt,sha256=kgecQ2MgGrM9qK744BoKS3tMesaC3yjLnl9pa5CRczg,37
163
+ ominfra-0.0.0.dev463.dist-info/top_level.txt,sha256=E-b2OHkk_AOBLXHYZQ2EOFKl-_6uOGd8EjeG-Zy6h_w,8
164
+ ominfra-0.0.0.dev463.dist-info/RECORD,,