cdk-databrew-cicd 2.0.378__py3-none-any.whl → 2.0.379__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.
@@ -415,7 +415,22 @@ import jsii
415
415
  import publication
416
416
  import typing_extensions
417
417
 
418
- from typeguard import check_type
418
+ import typeguard
419
+ from importlib.metadata import version as _metadata_package_version
420
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
421
+
422
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
423
+ if TYPEGUARD_MAJOR_VERSION <= 2:
424
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
425
+ else:
426
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
427
+ pass
428
+ else:
429
+ if TYPEGUARD_MAJOR_VERSION == 3:
430
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
431
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
432
+ else:
433
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
419
434
 
420
435
  from ._jsii import *
421
436
 
@@ -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
  "cdk-databrew-cicd",
21
- "2.0.378",
36
+ "2.0.379",
22
37
  __name__[0:-6],
23
- "cdk-databrew-cicd@2.0.378.jsii.tgz",
38
+ "cdk-databrew-cicd@2.0.379.jsii.tgz",
24
39
  )
25
40
 
26
41
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cdk_databrew_cicd
3
- Version: 2.0.378
3
+ Version: 2.0.379
4
4
  Summary: A construct for AWS Glue DataBrew wtih CICD
5
5
  Home-page: https://github.com/HsiehShuJeng/cdk-databrew-cicd.git
6
6
  Author: Shu-Jeng Hsieh
@@ -22,9 +22,9 @@ Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
23
  Requires-Dist: aws-cdk-lib<3.0.0,>=2.27.0
24
24
  Requires-Dist: constructs<11.0.0,>=10.0.5
25
- Requires-Dist: jsii<2.0.0,>=1.102.0
25
+ Requires-Dist: jsii<2.0.0,>=1.103.0
26
26
  Requires-Dist: publication>=0.0.3
27
- Requires-Dist: typeguard~=2.13.3
27
+ Requires-Dist: typeguard<5.0.0,>=2.13.3
28
28
 
29
29
  # cdk-databrew-cicd
30
30
 
@@ -0,0 +1,9 @@
1
+ cdk_databrew_cicd/__init__.py,sha256=2MtLLIEHzRpYOuOKT9wqoy5C162CF-hSMK49aoQysS0,66919
2
+ cdk_databrew_cicd/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
+ cdk_databrew_cicd/_jsii/__init__.py,sha256=SS_AxKXR7AsFm--BVp7jXz4VF2-iySJN8vbcdgFZ4HQ,1462
4
+ cdk_databrew_cicd/_jsii/cdk-databrew-cicd@2.0.379.jsii.tgz,sha256=kTuf9qeJUzp2msuo-FsZyff7YHYTyiCjnYhdKPCBF9s,1434692
5
+ cdk_databrew_cicd-2.0.379.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
+ cdk_databrew_cicd-2.0.379.dist-info/METADATA,sha256=kMgCLYN0h2JU02hUxZYI9b7WxjMmDCZfHOcGNzDOxJs,17935
7
+ cdk_databrew_cicd-2.0.379.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
8
+ cdk_databrew_cicd-2.0.379.dist-info/top_level.txt,sha256=lTMiyZZxuDC6FtdNsx2SgCUlN9rEnaQMbEDPsjz2WG8,18
9
+ cdk_databrew_cicd-2.0.379.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- cdk_databrew_cicd/__init__.py,sha256=Qv9JGAo9qFTAaHzgfDUcN4AEXMTXkiSF2eyutM9Jp5k,65951
2
- cdk_databrew_cicd/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
- cdk_databrew_cicd/_jsii/__init__.py,sha256=-zsIy-YA1xFP1PL_tRdM6ANzQHgdf3sNmLxp8Ne53q0,494
4
- cdk_databrew_cicd/_jsii/cdk-databrew-cicd@2.0.378.jsii.tgz,sha256=vGavj3P1yGOfq6ZQfFca4fz9uq5fyEZsSzyz4jLdYzA,1434696
5
- cdk_databrew_cicd-2.0.378.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
- cdk_databrew_cicd-2.0.378.dist-info/METADATA,sha256=0PLkRatkdJpR7QjFaNpJ5O9EM2uVEorhFWerB0Rph3k,17928
7
- cdk_databrew_cicd-2.0.378.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
8
- cdk_databrew_cicd-2.0.378.dist-info/top_level.txt,sha256=lTMiyZZxuDC6FtdNsx2SgCUlN9rEnaQMbEDPsjz2WG8,18
9
- cdk_databrew_cicd-2.0.378.dist-info/RECORD,,