cdk-emrserverless-with-delta-lake 2.0.560__py3-none-any.whl → 2.0.561__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.
@@ -225,7 +225,22 @@ import jsii
225
225
  import publication
226
226
  import typing_extensions
227
227
 
228
- from typeguard import check_type
228
+ import typeguard
229
+ from importlib.metadata import version as _metadata_package_version
230
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
231
+
232
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
233
+ if TYPEGUARD_MAJOR_VERSION <= 2:
234
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
235
+ else:
236
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
237
+ pass
238
+ else:
239
+ if TYPEGUARD_MAJOR_VERSION == 3:
240
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
241
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
242
+ else:
243
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
229
244
 
230
245
  from ._jsii import *
231
246
 
@@ -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-emrserverless-with-delta-lake",
21
- "2.0.560",
36
+ "2.0.561",
22
37
  __name__[0:-6],
23
- "cdk-emrserverless-with-delta-lake@2.0.560.jsii.tgz",
38
+ "cdk-emrserverless-with-delta-lake@2.0.561.jsii.tgz",
24
39
  )
25
40
 
26
41
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cdk_emrserverless_with_delta_lake
3
- Version: 2.0.560
3
+ Version: 2.0.561
4
4
  Summary: A construct for the quick demo of EMR Serverless.
5
5
  Home-page: https://github.com/HsiehShuJeng/cdk-emrserverless-with-delta-lake.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.1.35
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-emrserverless-with-delta-lake
30
30
 
@@ -0,0 +1,9 @@
1
+ cdk_emrserverless_with_delta_lake/__init__.py,sha256=c75NgqazsD9u3AidUujmI9nZbaZu5w-2ZtMaj0fZddg,82771
2
+ cdk_emrserverless_with_delta_lake/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
+ cdk_emrserverless_with_delta_lake/_jsii/__init__.py,sha256=yXbUskd73FUx63vb3rS9ZCfSofCa2Td1ZlVy5kPbLOE,1494
4
+ cdk_emrserverless_with_delta_lake/_jsii/cdk-emrserverless-with-delta-lake@2.0.561.jsii.tgz,sha256=ymGmfRZp9h-9hf3ZpYRj_F26jmBroWQFR3wcoJFvSlY,3166517
5
+ cdk_emrserverless_with_delta_lake-2.0.561.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
+ cdk_emrserverless_with_delta_lake-2.0.561.dist-info/METADATA,sha256=6Loa8mO9ECLKGg23K2WzPGkM6Sn81p3SNHKjdRgO5ZQ,13710
7
+ cdk_emrserverless_with_delta_lake-2.0.561.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
8
+ cdk_emrserverless_with_delta_lake-2.0.561.dist-info/top_level.txt,sha256=bCGxtUE8InJ5ril93xzBr0c9pHoR0Modu6cD-nxXqsg,34
9
+ cdk_emrserverless_with_delta_lake-2.0.561.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- cdk_emrserverless_with_delta_lake/__init__.py,sha256=EdKkoCCkmCxBgR6fkDdrpTdItlgvFVAKsa8nxGsVxPI,81803
2
- cdk_emrserverless_with_delta_lake/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
- cdk_emrserverless_with_delta_lake/_jsii/__init__.py,sha256=ZkbnK9AKQkmfQ9x9tAWF4pk-5YVlWCl7MvmvcpeNx4U,526
4
- cdk_emrserverless_with_delta_lake/_jsii/cdk-emrserverless-with-delta-lake@2.0.560.jsii.tgz,sha256=hDXX-DLfw4Ahjd89dbFXc1-sRKrgMnE9T_3CS7E-6DM,3166518
5
- cdk_emrserverless_with_delta_lake-2.0.560.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
- cdk_emrserverless_with_delta_lake-2.0.560.dist-info/METADATA,sha256=jF4tpKckNdG2Tmj43Hh0n0g86K9DREX9sJWfN19rAIk,13703
7
- cdk_emrserverless_with_delta_lake-2.0.560.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
8
- cdk_emrserverless_with_delta_lake-2.0.560.dist-info/top_level.txt,sha256=bCGxtUE8InJ5ril93xzBr0c9pHoR0Modu6cD-nxXqsg,34
9
- cdk_emrserverless_with_delta_lake-2.0.560.dist-info/RECORD,,