cdklabs.appsync-utils 0.0.509__tar.gz → 0.0.511__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 (19) hide show
  1. {cdklabs_appsync_utils-0.0.509/src/cdklabs.appsync_utils.egg-info → cdklabs_appsync_utils-0.0.511}/PKG-INFO +3 -3
  2. {cdklabs_appsync_utils-0.0.509 → cdklabs_appsync_utils-0.0.511}/setup.py +4 -4
  3. {cdklabs_appsync_utils-0.0.509 → cdklabs_appsync_utils-0.0.511}/src/awscdk/appsync_utils/__init__.py +16 -1
  4. cdklabs_appsync_utils-0.0.511/src/awscdk/appsync_utils/_jsii/__init__.py +45 -0
  5. cdklabs_appsync_utils-0.0.511/src/awscdk/appsync_utils/_jsii/awscdk-appsync-utils@0.0.511.jsii.tgz +0 -0
  6. {cdklabs_appsync_utils-0.0.509 → cdklabs_appsync_utils-0.0.511/src/cdklabs.appsync_utils.egg-info}/PKG-INFO +3 -3
  7. {cdklabs_appsync_utils-0.0.509 → cdklabs_appsync_utils-0.0.511}/src/cdklabs.appsync_utils.egg-info/SOURCES.txt +1 -1
  8. {cdklabs_appsync_utils-0.0.509 → cdklabs_appsync_utils-0.0.511}/src/cdklabs.appsync_utils.egg-info/requires.txt +2 -2
  9. cdklabs_appsync_utils-0.0.509/src/awscdk/appsync_utils/_jsii/__init__.py +0 -30
  10. cdklabs_appsync_utils-0.0.509/src/awscdk/appsync_utils/_jsii/awscdk-appsync-utils@0.0.509.jsii.tgz +0 -0
  11. {cdklabs_appsync_utils-0.0.509 → cdklabs_appsync_utils-0.0.511}/LICENSE +0 -0
  12. {cdklabs_appsync_utils-0.0.509 → cdklabs_appsync_utils-0.0.511}/MANIFEST.in +0 -0
  13. {cdklabs_appsync_utils-0.0.509 → cdklabs_appsync_utils-0.0.511}/NOTICE +0 -0
  14. {cdklabs_appsync_utils-0.0.509 → cdklabs_appsync_utils-0.0.511}/README.md +0 -0
  15. {cdklabs_appsync_utils-0.0.509 → cdklabs_appsync_utils-0.0.511}/pyproject.toml +0 -0
  16. {cdklabs_appsync_utils-0.0.509 → cdklabs_appsync_utils-0.0.511}/setup.cfg +0 -0
  17. {cdklabs_appsync_utils-0.0.509 → cdklabs_appsync_utils-0.0.511}/src/awscdk/appsync_utils/py.typed +0 -0
  18. {cdklabs_appsync_utils-0.0.509 → cdklabs_appsync_utils-0.0.511}/src/cdklabs.appsync_utils.egg-info/dependency_links.txt +0 -0
  19. {cdklabs_appsync_utils-0.0.509 → cdklabs_appsync_utils-0.0.511}/src/cdklabs.appsync_utils.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cdklabs.appsync-utils
3
- Version: 0.0.509
3
+ Version: 0.0.511
4
4
  Summary: Utilities for creating appsync apis using aws-cdk
5
5
  Home-page: https://github.com/cdklabs/awscdk-appsync-utils.git
6
6
  Author: Mitchell Valine<mitchellvaline@yahoo.com>
@@ -23,9 +23,9 @@ License-File: LICENSE
23
23
  License-File: NOTICE
24
24
  Requires-Dist: aws-cdk-lib<3.0.0,>=2.110.0
25
25
  Requires-Dist: constructs<11.0.0,>=10.0.5
26
- Requires-Dist: jsii<2.0.0,>=1.102.0
26
+ Requires-Dist: jsii<2.0.0,>=1.103.0
27
27
  Requires-Dist: publication>=0.0.3
28
- Requires-Dist: typeguard~=2.13.3
28
+ Requires-Dist: typeguard<5.0.0,>=2.13.3
29
29
 
30
30
  # AWS CDK AppSync Utilities
31
31
 
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "cdklabs.appsync-utils",
8
- "version": "0.0.509",
8
+ "version": "0.0.511",
9
9
  "description": "Utilities for creating appsync apis using aws-cdk",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/cdklabs/awscdk-appsync-utils.git",
@@ -26,7 +26,7 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "awscdk.appsync_utils._jsii": [
29
- "awscdk-appsync-utils@0.0.509.jsii.tgz"
29
+ "awscdk-appsync-utils@0.0.511.jsii.tgz"
30
30
  ],
31
31
  "awscdk.appsync_utils": [
32
32
  "py.typed"
@@ -36,9 +36,9 @@ kwargs = json.loads(
36
36
  "install_requires": [
37
37
  "aws-cdk-lib>=2.110.0, <3.0.0",
38
38
  "constructs>=10.0.5, <11.0.0",
39
- "jsii>=1.102.0, <2.0.0",
39
+ "jsii>=1.103.0, <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",
@@ -618,7 +618,22 @@ import jsii
618
618
  import publication
619
619
  import typing_extensions
620
620
 
621
- from typeguard import check_type
621
+ import typeguard
622
+ from importlib.metadata import version as _metadata_package_version
623
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
624
+
625
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
626
+ if TYPEGUARD_MAJOR_VERSION <= 2:
627
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
628
+ else:
629
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
630
+ pass
631
+ else:
632
+ if TYPEGUARD_MAJOR_VERSION == 3:
633
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
634
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
635
+ else:
636
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
622
637
 
623
638
  from ._jsii import *
624
639
 
@@ -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
+ "awscdk-appsync-utils",
36
+ "0.0.511",
37
+ __name__[0:-6],
38
+ "awscdk-appsync-utils@0.0.511.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: cdklabs.appsync-utils
3
- Version: 0.0.509
3
+ Version: 0.0.511
4
4
  Summary: Utilities for creating appsync apis using aws-cdk
5
5
  Home-page: https://github.com/cdklabs/awscdk-appsync-utils.git
6
6
  Author: Mitchell Valine<mitchellvaline@yahoo.com>
@@ -23,9 +23,9 @@ License-File: LICENSE
23
23
  License-File: NOTICE
24
24
  Requires-Dist: aws-cdk-lib<3.0.0,>=2.110.0
25
25
  Requires-Dist: constructs<11.0.0,>=10.0.5
26
- Requires-Dist: jsii<2.0.0,>=1.102.0
26
+ Requires-Dist: jsii<2.0.0,>=1.103.0
27
27
  Requires-Dist: publication>=0.0.3
28
- Requires-Dist: typeguard~=2.13.3
28
+ Requires-Dist: typeguard<5.0.0,>=2.13.3
29
29
 
30
30
  # AWS CDK AppSync Utilities
31
31
 
@@ -7,7 +7,7 @@ setup.py
7
7
  src/awscdk/appsync_utils/__init__.py
8
8
  src/awscdk/appsync_utils/py.typed
9
9
  src/awscdk/appsync_utils/_jsii/__init__.py
10
- src/awscdk/appsync_utils/_jsii/awscdk-appsync-utils@0.0.509.jsii.tgz
10
+ src/awscdk/appsync_utils/_jsii/awscdk-appsync-utils@0.0.511.jsii.tgz
11
11
  src/cdklabs.appsync_utils.egg-info/PKG-INFO
12
12
  src/cdklabs.appsync_utils.egg-info/SOURCES.txt
13
13
  src/cdklabs.appsync_utils.egg-info/dependency_links.txt
@@ -1,5 +1,5 @@
1
1
  aws-cdk-lib<3.0.0,>=2.110.0
2
2
  constructs<11.0.0,>=10.0.5
3
- jsii<2.0.0,>=1.102.0
3
+ jsii<2.0.0,>=1.103.0
4
4
  publication>=0.0.3
5
- typeguard~=2.13.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
- "awscdk-appsync-utils",
21
- "0.0.509",
22
- __name__[0:-6],
23
- "awscdk-appsync-utils@0.0.509.jsii.tgz",
24
- )
25
-
26
- __all__ = [
27
- "__jsii_assembly__",
28
- ]
29
-
30
- publication.publish()