cdk-events-notify 2.2.228__py3-none-any.whl → 2.2.230__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.
- cdk_events_notify/__init__.py +16 -1
- cdk_events_notify/_jsii/__init__.py +18 -3
- cdk_events_notify/_jsii/cdk-events-notify@2.2.230.jsii.tgz +0 -0
- {cdk_events_notify-2.2.228.dist-info → cdk_events_notify-2.2.230.dist-info}/METADATA +3 -3
- cdk_events_notify-2.2.230.dist-info/RECORD +9 -0
- cdk_events_notify/_jsii/cdk-events-notify@2.2.228.jsii.tgz +0 -0
- cdk_events_notify-2.2.228.dist-info/RECORD +0 -9
- {cdk_events_notify-2.2.228.dist-info → cdk_events_notify-2.2.230.dist-info}/LICENSE +0 -0
- {cdk_events_notify-2.2.228.dist-info → cdk_events_notify-2.2.230.dist-info}/WHEEL +0 -0
- {cdk_events_notify-2.2.228.dist-info → cdk_events_notify-2.2.230.dist-info}/top_level.txt +0 -0
cdk_events_notify/__init__.py
CHANGED
@@ -109,7 +109,22 @@ import jsii
|
|
109
109
|
import publication
|
110
110
|
import typing_extensions
|
111
111
|
|
112
|
-
|
112
|
+
import typeguard
|
113
|
+
from importlib.metadata import version as _metadata_package_version
|
114
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
115
|
+
|
116
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
117
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
118
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
119
|
+
else:
|
120
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
121
|
+
pass
|
122
|
+
else:
|
123
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
124
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
125
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
126
|
+
else:
|
127
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
113
128
|
|
114
129
|
from ._jsii import *
|
115
130
|
|
@@ -11,16 +11,31 @@ import jsii
|
|
11
11
|
import publication
|
12
12
|
import typing_extensions
|
13
13
|
|
14
|
-
|
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-events-notify",
|
21
|
-
"2.2.
|
36
|
+
"2.2.230",
|
22
37
|
__name__[0:-6],
|
23
|
-
"cdk-events-notify@2.2.
|
38
|
+
"cdk-events-notify@2.2.230.jsii.tgz",
|
24
39
|
)
|
25
40
|
|
26
41
|
__all__ = [
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cdk-events-notify
|
3
|
-
Version: 2.2.
|
3
|
+
Version: 2.2.230
|
4
4
|
Summary: The Events Notify AWS Construct lib for AWS CDK
|
5
5
|
Home-page: https://github.com/neilkuan/cdk-events-notify.git
|
6
6
|
Author: Neil Kuan<guan840912@gmail.com>
|
@@ -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.126.0
|
24
24
|
Requires-Dist: constructs<11.0.0,>=10.0.5
|
25
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
25
|
+
Requires-Dist: jsii<2.0.0,>=1.103.0
|
26
26
|
Requires-Dist: publication>=0.0.3
|
27
|
-
Requires-Dist: typeguard
|
27
|
+
Requires-Dist: typeguard<5.0.0,>=2.13.3
|
28
28
|
|
29
29
|
[](https://badge.fury.io/js/cdk-events-notify)
|
30
30
|
[](https://badge.fury.io/py/cdk-events-notify)
|
@@ -0,0 +1,9 @@
|
|
1
|
+
cdk_events_notify/__init__.py,sha256=6_as_0DBuA20XTFSYZcWdomtAKGiGaxt_tMo1RUpBpA,10433
|
2
|
+
cdk_events_notify/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
+
cdk_events_notify/_jsii/__init__.py,sha256=5kLGY9xmeMW_4Mq0aOZS7IaIdUoTO0qHKJjktV1DEfY,1462
|
4
|
+
cdk_events_notify/_jsii/cdk-events-notify@2.2.230.jsii.tgz,sha256=_X9TstiP9MzOKk2DU9nnIPE7EMG82irBqJN99dRta58,25524
|
5
|
+
cdk_events_notify-2.2.230.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
6
|
+
cdk_events_notify-2.2.230.dist-info/METADATA,sha256=xQZV4LQauP_9fapVH-m-KLJfkGHN0pfKds8cbiHu7ks,4150
|
7
|
+
cdk_events_notify-2.2.230.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
8
|
+
cdk_events_notify-2.2.230.dist-info/top_level.txt,sha256=uATU2aU2kg40ihuQtTgD70JIuAKTmCUTrFRo88DRHNM,18
|
9
|
+
cdk_events_notify-2.2.230.dist-info/RECORD,,
|
Binary file
|
@@ -1,9 +0,0 @@
|
|
1
|
-
cdk_events_notify/__init__.py,sha256=7wZaC6IKi9A0e64cusJaWtvPspCbpEGo6py1_VHQXIU,9465
|
2
|
-
cdk_events_notify/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
-
cdk_events_notify/_jsii/__init__.py,sha256=vOC0V1ijgYbSbxY1eigz_uHAffZCp_UWMGipAbK7xNs,494
|
4
|
-
cdk_events_notify/_jsii/cdk-events-notify@2.2.228.jsii.tgz,sha256=yXrBpBrgWatj_vQIPsMkw51UHST5XGJMBAgiDwkNzyM,24955
|
5
|
-
cdk_events_notify-2.2.228.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
6
|
-
cdk_events_notify-2.2.228.dist-info/METADATA,sha256=LcNpkF2CnNQ88Ke7jruVtJ6IZVcNgOqjSkN1msKyiiY,4143
|
7
|
-
cdk_events_notify-2.2.228.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
8
|
-
cdk_events_notify-2.2.228.dist-info/top_level.txt,sha256=uATU2aU2kg40ihuQtTgD70JIuAKTmCUTrFRo88DRHNM,18
|
9
|
-
cdk_events_notify-2.2.228.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|