pepperize.cdk-apigateway-swagger-ui 0.0.931__tar.gz → 0.0.1154__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 (18) hide show
  1. {pepperize.cdk-apigateway-swagger-ui-0.0.931/src/pepperize.cdk_apigateway_swagger_ui.egg-info → pepperize_cdk_apigateway_swagger_ui-0.0.1154}/PKG-INFO +6 -1
  2. {pepperize.cdk-apigateway-swagger-ui-0.0.931 → pepperize_cdk_apigateway_swagger_ui-0.0.1154}/pyproject.toml +1 -1
  3. {pepperize.cdk-apigateway-swagger-ui-0.0.931 → pepperize_cdk_apigateway_swagger_ui-0.0.1154}/setup.py +4 -4
  4. {pepperize.cdk-apigateway-swagger-ui-0.0.931 → pepperize_cdk_apigateway_swagger_ui-0.0.1154/src/pepperize.cdk_apigateway_swagger_ui.egg-info}/PKG-INFO +6 -1
  5. {pepperize.cdk-apigateway-swagger-ui-0.0.931 → pepperize_cdk_apigateway_swagger_ui-0.0.1154}/src/pepperize.cdk_apigateway_swagger_ui.egg-info/SOURCES.txt +1 -1
  6. {pepperize.cdk-apigateway-swagger-ui-0.0.931 → pepperize_cdk_apigateway_swagger_ui-0.0.1154}/src/pepperize.cdk_apigateway_swagger_ui.egg-info/requires.txt +2 -2
  7. {pepperize.cdk-apigateway-swagger-ui-0.0.931 → pepperize_cdk_apigateway_swagger_ui-0.0.1154}/src/pepperize_cdk_apigateway_swagger_ui/__init__.py +20 -2
  8. pepperize_cdk_apigateway_swagger_ui-0.0.1154/src/pepperize_cdk_apigateway_swagger_ui/_jsii/__init__.py +45 -0
  9. pepperize_cdk_apigateway_swagger_ui-0.0.1154/src/pepperize_cdk_apigateway_swagger_ui/_jsii/cdk-apigateway-swagger-ui@0.0.1154.jsii.tgz +0 -0
  10. pepperize.cdk-apigateway-swagger-ui-0.0.931/src/pepperize_cdk_apigateway_swagger_ui/_jsii/__init__.py +0 -27
  11. pepperize.cdk-apigateway-swagger-ui-0.0.931/src/pepperize_cdk_apigateway_swagger_ui/_jsii/cdk-apigateway-swagger-ui@0.0.931.jsii.tgz +0 -0
  12. {pepperize.cdk-apigateway-swagger-ui-0.0.931 → pepperize_cdk_apigateway_swagger_ui-0.0.1154}/LICENSE +0 -0
  13. {pepperize.cdk-apigateway-swagger-ui-0.0.931 → pepperize_cdk_apigateway_swagger_ui-0.0.1154}/MANIFEST.in +0 -0
  14. {pepperize.cdk-apigateway-swagger-ui-0.0.931 → pepperize_cdk_apigateway_swagger_ui-0.0.1154}/README.md +0 -0
  15. {pepperize.cdk-apigateway-swagger-ui-0.0.931 → pepperize_cdk_apigateway_swagger_ui-0.0.1154}/setup.cfg +0 -0
  16. {pepperize.cdk-apigateway-swagger-ui-0.0.931 → pepperize_cdk_apigateway_swagger_ui-0.0.1154}/src/pepperize.cdk_apigateway_swagger_ui.egg-info/dependency_links.txt +0 -0
  17. {pepperize.cdk-apigateway-swagger-ui-0.0.931 → pepperize_cdk_apigateway_swagger_ui-0.0.1154}/src/pepperize.cdk_apigateway_swagger_ui.egg-info/top_level.txt +0 -0
  18. {pepperize.cdk-apigateway-swagger-ui-0.0.931 → pepperize_cdk_apigateway_swagger_ui-0.0.1154}/src/pepperize_cdk_apigateway_swagger_ui/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pepperize.cdk-apigateway-swagger-ui
3
- Version: 0.0.931
3
+ Version: 0.0.1154
4
4
  Summary: Add SwaggerUI to your AWS Apigateway RestApi
5
5
  Home-page: https://github.com/pepperize/cdk-apigateway-swagger-ui.git
6
6
  Author: Patrick Florek<patrick.florek@gmail.com>
@@ -20,6 +20,11 @@ Classifier: License :: OSI Approved
20
20
  Requires-Python: ~=3.8
21
21
  Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.1.0
24
+ Requires-Dist: constructs<11.0.0,>=10.0.5
25
+ Requires-Dist: jsii<2.0.0,>=1.106.0
26
+ Requires-Dist: publication>=0.0.3
27
+ Requires-Dist: typeguard<4.3.0,>=2.13.3
23
28
 
24
29
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)
25
30
  [![GitHub](https://img.shields.io/github/license/pepperize/cdk-apigateway-swagger-ui?style=flat-square)](https://github.com/pepperize/cdk-apigateway-swagger-ui/blob/main/LICENSE)
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["setuptools~=67.3.2", "wheel~=0.42"]
2
+ requires = ["setuptools~=70.0.0", "wheel~=0.42"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [tool.pyright]
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "pepperize.cdk-apigateway-swagger-ui",
8
- "version": "0.0.931",
8
+ "version": "0.0.1154",
9
9
  "description": "Add SwaggerUI to your AWS Apigateway RestApi",
10
10
  "license": "MIT",
11
11
  "url": "https://github.com/pepperize/cdk-apigateway-swagger-ui.git",
@@ -26,7 +26,7 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "pepperize_cdk_apigateway_swagger_ui._jsii": [
29
- "cdk-apigateway-swagger-ui@0.0.931.jsii.tgz"
29
+ "cdk-apigateway-swagger-ui@0.0.1154.jsii.tgz"
30
30
  ],
31
31
  "pepperize_cdk_apigateway_swagger_ui": [
32
32
  "py.typed"
@@ -36,9 +36,9 @@ kwargs = json.loads(
36
36
  "install_requires": [
37
37
  "aws-cdk-lib>=2.1.0, <3.0.0",
38
38
  "constructs>=10.0.5, <11.0.0",
39
- "jsii>=1.93.0, <2.0.0",
39
+ "jsii>=1.106.0, <2.0.0",
40
40
  "publication>=0.0.3",
41
- "typeguard~=2.13.3"
41
+ "typeguard>=2.13.3,<4.3.0"
42
42
  ],
43
43
  "classifiers": [
44
44
  "Intended Audience :: Developers",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pepperize.cdk-apigateway-swagger-ui
3
- Version: 0.0.931
3
+ Version: 0.0.1154
4
4
  Summary: Add SwaggerUI to your AWS Apigateway RestApi
5
5
  Home-page: https://github.com/pepperize/cdk-apigateway-swagger-ui.git
6
6
  Author: Patrick Florek<patrick.florek@gmail.com>
@@ -20,6 +20,11 @@ Classifier: License :: OSI Approved
20
20
  Requires-Python: ~=3.8
21
21
  Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.1.0
24
+ Requires-Dist: constructs<11.0.0,>=10.0.5
25
+ Requires-Dist: jsii<2.0.0,>=1.106.0
26
+ Requires-Dist: publication>=0.0.3
27
+ Requires-Dist: typeguard<4.3.0,>=2.13.3
23
28
 
24
29
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)
25
30
  [![GitHub](https://img.shields.io/github/license/pepperize/cdk-apigateway-swagger-ui?style=flat-square)](https://github.com/pepperize/cdk-apigateway-swagger-ui/blob/main/LICENSE)
@@ -11,4 +11,4 @@ src/pepperize.cdk_apigateway_swagger_ui.egg-info/top_level.txt
11
11
  src/pepperize_cdk_apigateway_swagger_ui/__init__.py
12
12
  src/pepperize_cdk_apigateway_swagger_ui/py.typed
13
13
  src/pepperize_cdk_apigateway_swagger_ui/_jsii/__init__.py
14
- src/pepperize_cdk_apigateway_swagger_ui/_jsii/cdk-apigateway-swagger-ui@0.0.931.jsii.tgz
14
+ src/pepperize_cdk_apigateway_swagger_ui/_jsii/cdk-apigateway-swagger-ui@0.0.1154.jsii.tgz
@@ -1,5 +1,5 @@
1
1
  aws-cdk-lib<3.0.0,>=2.1.0
2
2
  constructs<11.0.0,>=10.0.5
3
- jsii<2.0.0,>=1.93.0
3
+ jsii<2.0.0,>=1.106.0
4
4
  publication>=0.0.3
5
- typeguard~=2.13.3
5
+ typeguard<4.3.0,>=2.13.3
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)
3
3
  [![GitHub](https://img.shields.io/github/license/pepperize/cdk-apigateway-swagger-ui?style=flat-square)](https://github.com/pepperize/cdk-apigateway-swagger-ui/blob/main/LICENSE)
4
4
  [![npm (scoped)](https://img.shields.io/npm/v/@pepperize/cdk-apigateway-swagger-ui?style=flat-square)](https://www.npmjs.com/package/@pepperize/cdk-apigateway-swagger-ui)
@@ -67,6 +67,9 @@ new SwaggerUi(stack, "SwaggerUI", { resource: restApi.root });
67
67
  * Open your SwaggerUI: `https://<rest api id>.execute-api.<aws region>.amazonaws.com/<stage>/api-docs/swagger-ui.html`
68
68
  * View your API docs: `https://<rest api id>.execute-api.<aws region>.amazonaws.com/<stage>/api-docs.json`
69
69
  '''
70
+ from pkgutil import extend_path
71
+ __path__ = extend_path(__path__, __name__)
72
+
70
73
  import abc
71
74
  import builtins
72
75
  import datetime
@@ -77,7 +80,22 @@ import jsii
77
80
  import publication
78
81
  import typing_extensions
79
82
 
80
- from typeguard import check_type
83
+ import typeguard
84
+ from importlib.metadata import version as _metadata_package_version
85
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
86
+
87
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
88
+ if TYPEGUARD_MAJOR_VERSION <= 2:
89
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
90
+ else:
91
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
92
+ pass
93
+ else:
94
+ if TYPEGUARD_MAJOR_VERSION == 3:
95
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
96
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
97
+ else:
98
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
81
99
 
82
100
  from ._jsii import *
83
101
 
@@ -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
+ "@pepperize/cdk-apigateway-swagger-ui",
36
+ "0.0.1154",
37
+ __name__[0:-6],
38
+ "cdk-apigateway-swagger-ui@0.0.1154.jsii.tgz",
39
+ )
40
+
41
+ __all__ = [
42
+ "__jsii_assembly__",
43
+ ]
44
+
45
+ publication.publish()
@@ -1,27 +0,0 @@
1
- import abc
2
- import builtins
3
- import datetime
4
- import enum
5
- import typing
6
-
7
- import jsii
8
- import publication
9
- import typing_extensions
10
-
11
- from typeguard import check_type
12
-
13
- import aws_cdk._jsii
14
- import constructs._jsii
15
-
16
- __jsii_assembly__ = jsii.JSIIAssembly.load(
17
- "@pepperize/cdk-apigateway-swagger-ui",
18
- "0.0.931",
19
- __name__[0:-6],
20
- "cdk-apigateway-swagger-ui@0.0.931.jsii.tgz",
21
- )
22
-
23
- __all__ = [
24
- "__jsii_assembly__",
25
- ]
26
-
27
- publication.publish()