aws-solutions-constructs.aws-s3-stepfunctions 2.67.1__py3-none-any.whl → 2.68.0__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.
@@ -171,7 +171,22 @@ import jsii
171
171
  import publication
172
172
  import typing_extensions
173
173
 
174
- from typeguard import check_type
174
+ import typeguard
175
+ from importlib.metadata import version as _metadata_package_version
176
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
177
+
178
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
179
+ if TYPEGUARD_MAJOR_VERSION <= 2:
180
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
181
+ else:
182
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
183
+ pass
184
+ else:
185
+ if TYPEGUARD_MAJOR_VERSION == 3:
186
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
187
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
188
+ else:
189
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
175
190
 
176
191
  from ._jsii import *
177
192
 
@@ -11,7 +11,22 @@ 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 aws_cdk.integ_tests_alpha._jsii
@@ -21,9 +36,9 @@ import constructs._jsii
21
36
 
22
37
  __jsii_assembly__ = jsii.JSIIAssembly.load(
23
38
  "@aws-solutions-constructs/aws-s3-stepfunctions",
24
- "2.67.1",
39
+ "2.68.0",
25
40
  __name__[0:-6],
26
- "aws-s3-stepfunctions@2.67.1.jsii.tgz",
41
+ "aws-s3-stepfunctions@2.68.0.jsii.tgz",
27
42
  )
28
43
 
29
44
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-solutions-constructs.aws-s3-stepfunctions
3
- Version: 2.67.1
3
+ Version: 2.68.0
4
4
  Summary: CDK Constructs for AWS S3 to AWS Step Functions integration
5
5
  Home-page: https://github.com/awslabs/aws-solutions-constructs.git
6
6
  Author: Amazon Web Services
@@ -19,14 +19,14 @@ Classifier: License :: OSI Approved
19
19
  Requires-Python: ~=3.8
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE
22
- Requires-Dist: aws-cdk-lib==2.151.0
23
- Requires-Dist: aws-cdk.integ-tests-alpha==2.151.0.a0
24
- Requires-Dist: aws-solutions-constructs.aws-eventbridge-stepfunctions==2.67.1
25
- Requires-Dist: aws-solutions-constructs.core==2.67.1
22
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.154.1
23
+ Requires-Dist: aws-cdk.integ-tests-alpha==2.154.1.a0
24
+ Requires-Dist: aws-solutions-constructs.aws-eventbridge-stepfunctions==2.68.0
25
+ Requires-Dist: aws-solutions-constructs.core==2.68.0
26
26
  Requires-Dist: constructs<11.0.0,>=10.0.0
27
- Requires-Dist: jsii<2.0.0,>=1.102.0
27
+ Requires-Dist: jsii<2.0.0,>=1.103.0
28
28
  Requires-Dist: publication>=0.0.3
29
- Requires-Dist: typeguard~=2.13.3
29
+ Requires-Dist: typeguard<5.0.0,>=2.13.3
30
30
 
31
31
  # aws-s3-stepfunctions module
32
32
 
@@ -0,0 +1,9 @@
1
+ aws_solutions_constructs/aws_s3_stepfunctions/__init__.py,sha256=880B2owHmsMPvg8-_3jFevq1sq3eofV8STzn32zcflA,27760
2
+ aws_solutions_constructs/aws_s3_stepfunctions/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
+ aws_solutions_constructs/aws_s3_stepfunctions/_jsii/__init__.py,sha256=4Sf2iqIDiwQnp3_8U4C8auNYAHHrrjR0NHxDoDOeCfw,1642
4
+ aws_solutions_constructs/aws_s3_stepfunctions/_jsii/aws-s3-stepfunctions@2.68.0.jsii.tgz,sha256=Y-ZF0XLawRh0PSPBF1e_zSRE7RyevVvAEzuSh6_yCQE,227051
5
+ aws_solutions_constructs.aws_s3_stepfunctions-2.68.0.dist-info/LICENSE,sha256=wnT4A3LZDAEpNzcPDh8VCH0i4wjvmLJ86l3A0tCINmw,10279
6
+ aws_solutions_constructs.aws_s3_stepfunctions-2.68.0.dist-info/METADATA,sha256=tn0CK622VsNDvhpy9X-jzRobVVou9wluNlbo0PVSagg,9311
7
+ aws_solutions_constructs.aws_s3_stepfunctions-2.68.0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
8
+ aws_solutions_constructs.aws_s3_stepfunctions-2.68.0.dist-info/top_level.txt,sha256=hi3us_KW7V1ocfOqVsNq1o3w552jCEgu_KsCckqYWsg,25
9
+ aws_solutions_constructs.aws_s3_stepfunctions-2.68.0.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- aws_solutions_constructs/aws_s3_stepfunctions/__init__.py,sha256=7mFhJ8P_WXSuEvC1HzMz1iXMNovq1xF3hQoTssOCuiw,26792
2
- aws_solutions_constructs/aws_s3_stepfunctions/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
- aws_solutions_constructs/aws_s3_stepfunctions/_jsii/__init__.py,sha256=WBjg-3sEvsfiptzDzI5TbL7TEa0zEXizFK8tjexm5Zo,674
4
- aws_solutions_constructs/aws_s3_stepfunctions/_jsii/aws-s3-stepfunctions@2.67.1.jsii.tgz,sha256=HlRIodlCGOrWttNQ7jAcTTblIiagBAJe3sJcfcGTCSE,226825
5
- aws_solutions_constructs.aws_s3_stepfunctions-2.67.1.dist-info/LICENSE,sha256=wnT4A3LZDAEpNzcPDh8VCH0i4wjvmLJ86l3A0tCINmw,10279
6
- aws_solutions_constructs.aws_s3_stepfunctions-2.67.1.dist-info/METADATA,sha256=hbiHtU2s2UMGU9hryuCK4KoVfRIsCxVoH2wWbYXGC8o,9297
7
- aws_solutions_constructs.aws_s3_stepfunctions-2.67.1.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
8
- aws_solutions_constructs.aws_s3_stepfunctions-2.67.1.dist-info/top_level.txt,sha256=hi3us_KW7V1ocfOqVsNq1o3w552jCEgu_KsCckqYWsg,25
9
- aws_solutions_constructs.aws_s3_stepfunctions-2.67.1.dist-info/RECORD,,