aws-cdk.app-staging-synthesizer-alpha 2.157.0a0__py3-none-any.whl → 2.158.0a0__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 aws-cdk.app-staging-synthesizer-alpha might be problematic. Click here for more details.

@@ -420,7 +420,22 @@ import jsii
420
420
  import publication
421
421
  import typing_extensions
422
422
 
423
- from typeguard import check_type
423
+ import typeguard
424
+ from importlib.metadata import version as _metadata_package_version
425
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
426
+
427
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
428
+ if TYPEGUARD_MAJOR_VERSION <= 2:
429
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
430
+ else:
431
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
432
+ pass
433
+ else:
434
+ if TYPEGUARD_MAJOR_VERSION == 3:
435
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
436
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
437
+ else:
438
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
424
439
 
425
440
  from ._jsii import *
426
441
 
@@ -11,16 +11,31 @@ import jsii
11
11
  import publication
12
12
  import typing_extensions
13
13
 
14
- from typeguard import check_type
14
+ import typeguard
15
+ from importlib.metadata import version as _metadata_package_version
16
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
17
+
18
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
19
+ if TYPEGUARD_MAJOR_VERSION <= 2:
20
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
21
+ else:
22
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
23
+ pass
24
+ else:
25
+ if TYPEGUARD_MAJOR_VERSION == 3:
26
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
27
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
28
+ else:
29
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
15
30
 
16
31
  import aws_cdk._jsii
17
32
  import constructs._jsii
18
33
 
19
34
  __jsii_assembly__ = jsii.JSIIAssembly.load(
20
35
  "@aws-cdk/app-staging-synthesizer-alpha",
21
- "2.157.0-alpha.0",
36
+ "2.158.0-alpha.0",
22
37
  __name__[0:-6],
23
- "app-staging-synthesizer-alpha@2.157.0-alpha.0.jsii.tgz",
38
+ "app-staging-synthesizer-alpha@2.158.0-alpha.0.jsii.tgz",
24
39
  )
25
40
 
26
41
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.app-staging-synthesizer-alpha
3
- Version: 2.157.0a0
3
+ Version: 2.158.0a0
4
4
  Summary: Cdk synthesizer for with app-scoped staging stack
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -23,11 +23,11 @@ Requires-Python: ~=3.8
23
23
  Description-Content-Type: text/markdown
24
24
  License-File: LICENSE
25
25
  License-File: NOTICE
26
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.157.0
26
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.158.0
27
27
  Requires-Dist: constructs<11.0.0,>=10.0.0
28
- Requires-Dist: jsii<2.0.0,>=1.102.0
28
+ Requires-Dist: jsii<2.0.0,>=1.103.1
29
29
  Requires-Dist: publication>=0.0.3
30
- Requires-Dist: typeguard~=2.13.3
30
+ Requires-Dist: typeguard<5.0.0,>=2.13.3
31
31
 
32
32
  # App Staging Synthesizer
33
33
 
@@ -0,0 +1,10 @@
1
+ aws_cdk/app_staging_synthesizer_alpha/__init__.py,sha256=ykdfm_lltCJI7m48fyr6ETFq72FsLXGaByU7GDEWCbo,203894
2
+ aws_cdk/app_staging_synthesizer_alpha/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
+ aws_cdk/app_staging_synthesizer_alpha/_jsii/__init__.py,sha256=w3c5Ir6I5GRDh2LdAcwxwuHEtZ3KS4L5APEVOxLqLdU,1511
4
+ aws_cdk/app_staging_synthesizer_alpha/_jsii/app-staging-synthesizer-alpha@2.158.0-alpha.0.jsii.tgz,sha256=Ui97Z55do7MpLSnpbmV4hJsrHuPybUO-haEfR76B7fs,86587
5
+ aws_cdk.app_staging_synthesizer_alpha-2.158.0a0.dist-info/LICENSE,sha256=kEDF86xJUQh1E9M7UPKKbHepBEdFxIUyoGfTwQB7zKg,11391
6
+ aws_cdk.app_staging_synthesizer_alpha-2.158.0a0.dist-info/METADATA,sha256=2I-zwb5bGDgC29YuN4HzhwWwJTw-QKaz9vBRISpp4uI,18267
7
+ aws_cdk.app_staging_synthesizer_alpha-2.158.0a0.dist-info/NOTICE,sha256=dXf56qvx2VDNCaqiRscOD2IH5GbmqbnKRzroZCeLtaQ,113
8
+ aws_cdk.app_staging_synthesizer_alpha-2.158.0a0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
9
+ aws_cdk.app_staging_synthesizer_alpha-2.158.0a0.dist-info/top_level.txt,sha256=1TALAKbuUGsMSrfKWEf268lySCmcqSEO6cDYe_XlLHM,8
10
+ aws_cdk.app_staging_synthesizer_alpha-2.158.0a0.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- aws_cdk/app_staging_synthesizer_alpha/__init__.py,sha256=ivoq15FtfNHCzNLh51JXFS0tPAQJ_i6vugTEJlzK_8g,202926
2
- aws_cdk/app_staging_synthesizer_alpha/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
- aws_cdk/app_staging_synthesizer_alpha/_jsii/__init__.py,sha256=7RGYZZNACY5W-W7WVeDddXUBT8edtYT60IgkSy8AxlQ,543
4
- aws_cdk/app_staging_synthesizer_alpha/_jsii/app-staging-synthesizer-alpha@2.157.0-alpha.0.jsii.tgz,sha256=K0CBQlAf2C3CUgtTj4Uq26Dy3259qyMs4nF3EAA_fAc,86586
5
- aws_cdk.app_staging_synthesizer_alpha-2.157.0a0.dist-info/LICENSE,sha256=kEDF86xJUQh1E9M7UPKKbHepBEdFxIUyoGfTwQB7zKg,11391
6
- aws_cdk.app_staging_synthesizer_alpha-2.157.0a0.dist-info/METADATA,sha256=gyHYyo_5IVasGdXTHrqsJtpFWCgYRLYPgr8zWzRAdXM,18260
7
- aws_cdk.app_staging_synthesizer_alpha-2.157.0a0.dist-info/NOTICE,sha256=dXf56qvx2VDNCaqiRscOD2IH5GbmqbnKRzroZCeLtaQ,113
8
- aws_cdk.app_staging_synthesizer_alpha-2.157.0a0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
9
- aws_cdk.app_staging_synthesizer_alpha-2.157.0a0.dist-info/top_level.txt,sha256=1TALAKbuUGsMSrfKWEf268lySCmcqSEO6cDYe_XlLHM,8
10
- aws_cdk.app_staging_synthesizer_alpha-2.157.0a0.dist-info/RECORD,,