constructs 10.4.1__tar.gz → 10.4.3__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.
- {constructs-10.4.1/src/constructs.egg-info → constructs-10.4.3}/PKG-INFO +4 -5
- {constructs-10.4.1 → constructs-10.4.3}/pyproject.toml +2 -2
- {constructs-10.4.1 → constructs-10.4.3}/setup.py +5 -6
- {constructs-10.4.1 → constructs-10.4.3}/src/constructs/__init__.py +49 -2
- constructs-10.4.3/src/constructs/_jsii/__init__.py +39 -0
- constructs-10.4.3/src/constructs/_jsii/constructs@10.4.3.jsii.tgz +0 -0
- {constructs-10.4.1 → constructs-10.4.3/src/constructs.egg-info}/PKG-INFO +4 -5
- {constructs-10.4.1 → constructs-10.4.3}/src/constructs.egg-info/SOURCES.txt +1 -1
- constructs-10.4.3/src/constructs.egg-info/requires.txt +3 -0
- constructs-10.4.1/src/constructs/_jsii/__init__.py +0 -24
- constructs-10.4.1/src/constructs/_jsii/constructs@10.4.1.jsii.tgz +0 -0
- constructs-10.4.1/src/constructs.egg-info/requires.txt +0 -3
- {constructs-10.4.1 → constructs-10.4.3}/LICENSE +0 -0
- {constructs-10.4.1 → constructs-10.4.3}/MANIFEST.in +0 -0
- {constructs-10.4.1 → constructs-10.4.3}/NOTICE +0 -0
- {constructs-10.4.1 → constructs-10.4.3}/README.md +0 -0
- {constructs-10.4.1 → constructs-10.4.3}/setup.cfg +0 -0
- {constructs-10.4.1 → constructs-10.4.3}/src/constructs/py.typed +0 -0
- {constructs-10.4.1 → constructs-10.4.3}/src/constructs.egg-info/dependency_links.txt +0 -0
- {constructs-10.4.1 → constructs-10.4.3}/src/constructs.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: constructs
|
|
3
|
-
Version: 10.4.
|
|
3
|
+
Version: 10.4.3
|
|
4
4
|
Summary: A programming model for software-defined state
|
|
5
5
|
Home-page: https://github.com/aws/constructs
|
|
6
6
|
Author: Amazon Web Services<aws-cdk-dev@amazon.com>
|
|
@@ -10,20 +10,19 @@ Classifier: Intended Audience :: Developers
|
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
11
|
Classifier: Programming Language :: JavaScript
|
|
12
12
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.9
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
16
|
Classifier: Typing :: Typed
|
|
18
17
|
Classifier: Development Status :: 5 - Production/Stable
|
|
19
18
|
Classifier: License :: OSI Approved
|
|
20
|
-
Requires-Python: ~=3.
|
|
19
|
+
Requires-Python: ~=3.9
|
|
21
20
|
Description-Content-Type: text/markdown
|
|
22
21
|
License-File: LICENSE
|
|
23
22
|
License-File: NOTICE
|
|
24
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
23
|
+
Requires-Dist: jsii<2.0.0,>=1.118.0
|
|
25
24
|
Requires-Dist: publication>=0.0.3
|
|
26
|
-
Requires-Dist: typeguard
|
|
25
|
+
Requires-Dist: typeguard<4.3.0,>=2.13.3
|
|
27
26
|
|
|
28
27
|
# Constructs
|
|
29
28
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["setuptools~=
|
|
2
|
+
requires = ["setuptools~=75.3.2", "build~=1.3.0"]
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
|
4
4
|
|
|
5
5
|
[tool.pyright]
|
|
6
6
|
defineConstant = { DEBUG = true }
|
|
7
|
-
pythonVersion = "3.
|
|
7
|
+
pythonVersion = "3.9"
|
|
8
8
|
pythonPlatform = "All"
|
|
9
9
|
reportSelfClsParameterName = false
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "constructs",
|
|
8
|
-
"version": "10.4.
|
|
8
|
+
"version": "10.4.3",
|
|
9
9
|
"description": "A programming model for software-defined state",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"url": "https://github.com/aws/constructs",
|
|
@@ -26,24 +26,23 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"constructs._jsii": [
|
|
29
|
-
"constructs@10.4.
|
|
29
|
+
"constructs@10.4.3.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"constructs": [
|
|
32
32
|
"py.typed"
|
|
33
33
|
]
|
|
34
34
|
},
|
|
35
|
-
"python_requires": "~=3.
|
|
35
|
+
"python_requires": "~=3.9",
|
|
36
36
|
"install_requires": [
|
|
37
|
-
"jsii>=1.
|
|
37
|
+
"jsii>=1.118.0, <2.0.0",
|
|
38
38
|
"publication>=0.0.3",
|
|
39
|
-
"typeguard
|
|
39
|
+
"typeguard>=2.13.3,<4.3.0"
|
|
40
40
|
],
|
|
41
41
|
"classifiers": [
|
|
42
42
|
"Intended Audience :: Developers",
|
|
43
43
|
"Operating System :: OS Independent",
|
|
44
44
|
"Programming Language :: JavaScript",
|
|
45
45
|
"Programming Language :: Python :: 3 :: Only",
|
|
46
|
-
"Programming Language :: Python :: 3.8",
|
|
47
46
|
"Programming Language :: Python :: 3.9",
|
|
48
47
|
"Programming Language :: Python :: 3.10",
|
|
49
48
|
"Programming Language :: Python :: 3.11",
|
|
@@ -45,7 +45,22 @@ import jsii
|
|
|
45
45
|
import publication
|
|
46
46
|
import typing_extensions
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
import typeguard
|
|
49
|
+
from importlib.metadata import version as _metadata_package_version
|
|
50
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
51
|
+
|
|
52
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
53
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
54
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
55
|
+
else:
|
|
56
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
57
|
+
pass
|
|
58
|
+
else:
|
|
59
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
60
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
61
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
62
|
+
else:
|
|
63
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
49
64
|
|
|
50
65
|
from ._jsii import *
|
|
51
66
|
|
|
@@ -697,7 +712,7 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
697
712
|
@builtins.property
|
|
698
713
|
@jsii.member(jsii_name="defaultChild")
|
|
699
714
|
def default_child(self) -> typing.Optional["IConstruct"]:
|
|
700
|
-
'''Returns the child construct that has the id ``Default`` or ``Resource
|
|
715
|
+
'''Returns the child construct that has the id ``Default`` or ``Resource``.
|
|
701
716
|
|
|
702
717
|
This is usually the construct that provides the bulk of the underlying functionality.
|
|
703
718
|
Useful for modifications of the underlying construct that are not available at the higher levels.
|
|
@@ -841,6 +856,28 @@ class Construct(metaclass=jsii.JSIIMeta, jsii_type="constructs.Construct"):
|
|
|
841
856
|
return typing.cast(Node, jsii.get(self, "node"))
|
|
842
857
|
|
|
843
858
|
|
|
859
|
+
class RootConstruct(
|
|
860
|
+
Construct,
|
|
861
|
+
metaclass=jsii.JSIIMeta,
|
|
862
|
+
jsii_type="constructs.RootConstruct",
|
|
863
|
+
):
|
|
864
|
+
'''Creates a new root construct node.
|
|
865
|
+
|
|
866
|
+
The root construct represents the top of the construct tree and is not contained within a parent scope itself.
|
|
867
|
+
For root constructs, the id is optional.
|
|
868
|
+
'''
|
|
869
|
+
|
|
870
|
+
def __init__(self, id: typing.Optional[builtins.str] = None) -> None:
|
|
871
|
+
'''Creates a new root construct node.
|
|
872
|
+
|
|
873
|
+
:param id: The scoped construct ID. Must be unique amongst siblings. If the ID includes a path separator (``/``), then it will be replaced by double dash ``--``.
|
|
874
|
+
'''
|
|
875
|
+
if __debug__:
|
|
876
|
+
type_hints = typing.get_type_hints(_typecheckingstub__43869d89939a2770444321abd60b2fdb0daaa395e2fa7d025fe7acd93e2d4dc3)
|
|
877
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
878
|
+
jsii.create(self.__class__, self, [id])
|
|
879
|
+
|
|
880
|
+
|
|
844
881
|
__all__ = [
|
|
845
882
|
"Construct",
|
|
846
883
|
"ConstructOrder",
|
|
@@ -852,6 +889,7 @@ __all__ = [
|
|
|
852
889
|
"MetadataEntry",
|
|
853
890
|
"MetadataOptions",
|
|
854
891
|
"Node",
|
|
892
|
+
"RootConstruct",
|
|
855
893
|
]
|
|
856
894
|
|
|
857
895
|
publication.publish()
|
|
@@ -1007,3 +1045,12 @@ def _typecheckingstub__fd6a4114560af835bb1c07485e906499cadbf16cf78d7e344bc100586
|
|
|
1007
1045
|
) -> None:
|
|
1008
1046
|
"""Type checking stubs"""
|
|
1009
1047
|
pass
|
|
1048
|
+
|
|
1049
|
+
def _typecheckingstub__43869d89939a2770444321abd60b2fdb0daaa395e2fa7d025fe7acd93e2d4dc3(
|
|
1050
|
+
id: typing.Optional[builtins.str] = None,
|
|
1051
|
+
) -> None:
|
|
1052
|
+
"""Type checking stubs"""
|
|
1053
|
+
pass
|
|
1054
|
+
|
|
1055
|
+
for cls in [IConstruct, IDependable, IValidation]:
|
|
1056
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
32
|
+
"constructs", "10.4.3", __name__[0:-6], "constructs@10.4.3.jsii.tgz"
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
__all__ = [
|
|
36
|
+
"__jsii_assembly__",
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
publication.publish()
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: constructs
|
|
3
|
-
Version: 10.4.
|
|
3
|
+
Version: 10.4.3
|
|
4
4
|
Summary: A programming model for software-defined state
|
|
5
5
|
Home-page: https://github.com/aws/constructs
|
|
6
6
|
Author: Amazon Web Services<aws-cdk-dev@amazon.com>
|
|
@@ -10,20 +10,19 @@ Classifier: Intended Audience :: Developers
|
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
11
|
Classifier: Programming Language :: JavaScript
|
|
12
12
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.9
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
16
|
Classifier: Typing :: Typed
|
|
18
17
|
Classifier: Development Status :: 5 - Production/Stable
|
|
19
18
|
Classifier: License :: OSI Approved
|
|
20
|
-
Requires-Python: ~=3.
|
|
19
|
+
Requires-Python: ~=3.9
|
|
21
20
|
Description-Content-Type: text/markdown
|
|
22
21
|
License-File: LICENSE
|
|
23
22
|
License-File: NOTICE
|
|
24
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
23
|
+
Requires-Dist: jsii<2.0.0,>=1.118.0
|
|
25
24
|
Requires-Dist: publication>=0.0.3
|
|
26
|
-
Requires-Dist: typeguard
|
|
25
|
+
Requires-Dist: typeguard<4.3.0,>=2.13.3
|
|
27
26
|
|
|
28
27
|
# Constructs
|
|
29
28
|
|
|
@@ -1,24 +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
|
-
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
17
|
-
"constructs", "10.4.1", __name__[0:-6], "constructs@10.4.1.jsii.tgz"
|
|
18
|
-
)
|
|
19
|
-
|
|
20
|
-
__all__ = [
|
|
21
|
-
"__jsii_assembly__",
|
|
22
|
-
]
|
|
23
|
-
|
|
24
|
-
publication.publish()
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|