aws-cdk.aws-lambda-python-alpha 2.157.0a0__tar.gz → 2.158.0a0__tar.gz

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.
Files changed (20) hide show
  1. {aws_cdk_aws_lambda_python_alpha-2.157.0a0/src/aws_cdk.aws_lambda_python_alpha.egg-info → aws_cdk_aws_lambda_python_alpha-2.158.0a0}/PKG-INFO +4 -4
  2. {aws_cdk_aws_lambda_python_alpha-2.157.0a0 → aws_cdk_aws_lambda_python_alpha-2.158.0a0}/setup.py +5 -5
  3. {aws_cdk_aws_lambda_python_alpha-2.157.0a0 → aws_cdk_aws_lambda_python_alpha-2.158.0a0}/src/aws_cdk/aws_lambda_python_alpha/__init__.py +16 -1
  4. aws_cdk_aws_lambda_python_alpha-2.158.0a0/src/aws_cdk/aws_lambda_python_alpha/_jsii/__init__.py +45 -0
  5. aws_cdk_aws_lambda_python_alpha-2.158.0a0/src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.158.0-alpha.0.jsii.tgz +0 -0
  6. {aws_cdk_aws_lambda_python_alpha-2.157.0a0 → aws_cdk_aws_lambda_python_alpha-2.158.0a0/src/aws_cdk.aws_lambda_python_alpha.egg-info}/PKG-INFO +4 -4
  7. {aws_cdk_aws_lambda_python_alpha-2.157.0a0 → aws_cdk_aws_lambda_python_alpha-2.158.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/SOURCES.txt +1 -1
  8. aws_cdk_aws_lambda_python_alpha-2.158.0a0/src/aws_cdk.aws_lambda_python_alpha.egg-info/requires.txt +5 -0
  9. aws_cdk_aws_lambda_python_alpha-2.157.0a0/src/aws_cdk/aws_lambda_python_alpha/_jsii/__init__.py +0 -30
  10. aws_cdk_aws_lambda_python_alpha-2.157.0a0/src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.157.0-alpha.0.jsii.tgz +0 -0
  11. aws_cdk_aws_lambda_python_alpha-2.157.0a0/src/aws_cdk.aws_lambda_python_alpha.egg-info/requires.txt +0 -5
  12. {aws_cdk_aws_lambda_python_alpha-2.157.0a0 → aws_cdk_aws_lambda_python_alpha-2.158.0a0}/LICENSE +0 -0
  13. {aws_cdk_aws_lambda_python_alpha-2.157.0a0 → aws_cdk_aws_lambda_python_alpha-2.158.0a0}/MANIFEST.in +0 -0
  14. {aws_cdk_aws_lambda_python_alpha-2.157.0a0 → aws_cdk_aws_lambda_python_alpha-2.158.0a0}/NOTICE +0 -0
  15. {aws_cdk_aws_lambda_python_alpha-2.157.0a0 → aws_cdk_aws_lambda_python_alpha-2.158.0a0}/README.md +0 -0
  16. {aws_cdk_aws_lambda_python_alpha-2.157.0a0 → aws_cdk_aws_lambda_python_alpha-2.158.0a0}/pyproject.toml +0 -0
  17. {aws_cdk_aws_lambda_python_alpha-2.157.0a0 → aws_cdk_aws_lambda_python_alpha-2.158.0a0}/setup.cfg +0 -0
  18. {aws_cdk_aws_lambda_python_alpha-2.157.0a0 → aws_cdk_aws_lambda_python_alpha-2.158.0a0}/src/aws_cdk/aws_lambda_python_alpha/py.typed +0 -0
  19. {aws_cdk_aws_lambda_python_alpha-2.157.0a0 → aws_cdk_aws_lambda_python_alpha-2.158.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/dependency_links.txt +0 -0
  20. {aws_cdk_aws_lambda_python_alpha-2.157.0a0 → aws_cdk_aws_lambda_python_alpha-2.158.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.aws-lambda-python-alpha
3
- Version: 2.157.0a0
3
+ Version: 2.158.0a0
4
4
  Summary: The CDK Construct Library for AWS Lambda in Python
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
  # Amazon Lambda Python Library
33
33
 
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "aws-cdk.aws-lambda-python-alpha",
8
- "version": "2.157.0.a0",
8
+ "version": "2.158.0.a0",
9
9
  "description": "The CDK Construct Library for AWS Lambda in Python",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/aws/aws-cdk",
@@ -26,7 +26,7 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "aws_cdk.aws_lambda_python_alpha._jsii": [
29
- "aws-lambda-python-alpha@2.157.0-alpha.0.jsii.tgz"
29
+ "aws-lambda-python-alpha@2.158.0-alpha.0.jsii.tgz"
30
30
  ],
31
31
  "aws_cdk.aws_lambda_python_alpha": [
32
32
  "py.typed"
@@ -34,11 +34,11 @@ kwargs = json.loads(
34
34
  },
35
35
  "python_requires": "~=3.8",
36
36
  "install_requires": [
37
- "aws-cdk-lib>=2.157.0, <3.0.0",
37
+ "aws-cdk-lib>=2.158.0, <3.0.0",
38
38
  "constructs>=10.0.0, <11.0.0",
39
- "jsii>=1.102.0, <2.0.0",
39
+ "jsii>=1.103.1, <2.0.0",
40
40
  "publication>=0.0.3",
41
- "typeguard~=2.13.3"
41
+ "typeguard>=2.13.3,<5.0.0"
42
42
  ],
43
43
  "classifiers": [
44
44
  "Intended Audience :: Developers",
@@ -345,7 +345,22 @@ import jsii
345
345
  import publication
346
346
  import typing_extensions
347
347
 
348
- from typeguard import check_type
348
+ import typeguard
349
+ from importlib.metadata import version as _metadata_package_version
350
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
351
+
352
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
353
+ if TYPEGUARD_MAJOR_VERSION <= 2:
354
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
355
+ else:
356
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
357
+ pass
358
+ else:
359
+ if TYPEGUARD_MAJOR_VERSION == 3:
360
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
361
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
362
+ else:
363
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
349
364
 
350
365
  from ._jsii import *
351
366
 
@@ -0,0 +1,45 @@
1
+ from pkgutil import extend_path
2
+ __path__ = extend_path(__path__, __name__)
3
+
4
+ import abc
5
+ import builtins
6
+ import datetime
7
+ import enum
8
+ import typing
9
+
10
+ import jsii
11
+ import publication
12
+ import typing_extensions
13
+
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
30
+
31
+ import aws_cdk._jsii
32
+ import constructs._jsii
33
+
34
+ __jsii_assembly__ = jsii.JSIIAssembly.load(
35
+ "@aws-cdk/aws-lambda-python-alpha",
36
+ "2.158.0-alpha.0",
37
+ __name__[0:-6],
38
+ "aws-lambda-python-alpha@2.158.0-alpha.0.jsii.tgz",
39
+ )
40
+
41
+ __all__ = [
42
+ "__jsii_assembly__",
43
+ ]
44
+
45
+ publication.publish()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.aws-lambda-python-alpha
3
- Version: 2.157.0a0
3
+ Version: 2.158.0a0
4
4
  Summary: The CDK Construct Library for AWS Lambda in Python
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
  # Amazon Lambda Python Library
33
33
 
@@ -12,4 +12,4 @@ src/aws_cdk.aws_lambda_python_alpha.egg-info/top_level.txt
12
12
  src/aws_cdk/aws_lambda_python_alpha/__init__.py
13
13
  src/aws_cdk/aws_lambda_python_alpha/py.typed
14
14
  src/aws_cdk/aws_lambda_python_alpha/_jsii/__init__.py
15
- src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.157.0-alpha.0.jsii.tgz
15
+ src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.158.0-alpha.0.jsii.tgz
@@ -0,0 +1,5 @@
1
+ aws-cdk-lib<3.0.0,>=2.158.0
2
+ constructs<11.0.0,>=10.0.0
3
+ jsii<2.0.0,>=1.103.1
4
+ publication>=0.0.3
5
+ typeguard<5.0.0,>=2.13.3
@@ -1,30 +0,0 @@
1
- from pkgutil import extend_path
2
- __path__ = extend_path(__path__, __name__)
3
-
4
- import abc
5
- import builtins
6
- import datetime
7
- import enum
8
- import typing
9
-
10
- import jsii
11
- import publication
12
- import typing_extensions
13
-
14
- from typeguard import check_type
15
-
16
- import aws_cdk._jsii
17
- import constructs._jsii
18
-
19
- __jsii_assembly__ = jsii.JSIIAssembly.load(
20
- "@aws-cdk/aws-lambda-python-alpha",
21
- "2.157.0-alpha.0",
22
- __name__[0:-6],
23
- "aws-lambda-python-alpha@2.157.0-alpha.0.jsii.tgz",
24
- )
25
-
26
- __all__ = [
27
- "__jsii_assembly__",
28
- ]
29
-
30
- publication.publish()
@@ -1,5 +0,0 @@
1
- aws-cdk-lib<3.0.0,>=2.157.0
2
- constructs<11.0.0,>=10.0.0
3
- jsii<2.0.0,>=1.102.0
4
- publication>=0.0.3
5
- typeguard~=2.13.3