constructs 10.4.0__tar.gz → 10.4.2__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.0/src/constructs.egg-info → constructs-10.4.2}/PKG-INFO +1 -1
- {constructs-10.4.0 → constructs-10.4.2}/setup.py +2 -2
- {constructs-10.4.0 → constructs-10.4.2}/src/constructs/__init__.py +27 -16
- {constructs-10.4.0 → constructs-10.4.2}/src/constructs/_jsii/__init__.py +1 -1
- constructs-10.4.2/src/constructs/_jsii/constructs@10.4.2.jsii.tgz +0 -0
- {constructs-10.4.0 → constructs-10.4.2/src/constructs.egg-info}/PKG-INFO +1 -1
- {constructs-10.4.0 → constructs-10.4.2}/src/constructs.egg-info/SOURCES.txt +1 -1
- constructs-10.4.0/src/constructs/_jsii/constructs@10.4.0.jsii.tgz +0 -0
- {constructs-10.4.0 → constructs-10.4.2}/LICENSE +0 -0
- {constructs-10.4.0 → constructs-10.4.2}/MANIFEST.in +0 -0
- {constructs-10.4.0 → constructs-10.4.2}/NOTICE +0 -0
- {constructs-10.4.0 → constructs-10.4.2}/README.md +0 -0
- {constructs-10.4.0 → constructs-10.4.2}/pyproject.toml +0 -0
- {constructs-10.4.0 → constructs-10.4.2}/setup.cfg +0 -0
- {constructs-10.4.0 → constructs-10.4.2}/src/constructs/py.typed +0 -0
- {constructs-10.4.0 → constructs-10.4.2}/src/constructs.egg-info/dependency_links.txt +0 -0
- {constructs-10.4.0 → constructs-10.4.2}/src/constructs.egg-info/requires.txt +0 -0
- {constructs-10.4.0 → constructs-10.4.2}/src/constructs.egg-info/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "constructs",
|
|
8
|
-
"version": "10.4.
|
|
8
|
+
"version": "10.4.2",
|
|
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,7 +26,7 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"constructs._jsii": [
|
|
29
|
-
"constructs@10.4.
|
|
29
|
+
"constructs@10.4.2.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"constructs": [
|
|
32
32
|
"py.typed"
|
|
@@ -801,18 +801,6 @@ class Construct(metaclass=jsii.JSIIMeta, jsii_type="constructs.Construct"):
|
|
|
801
801
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
802
802
|
jsii.create(self.__class__, self, [scope, id])
|
|
803
803
|
|
|
804
|
-
@jsii.member(jsii_name="createRoot")
|
|
805
|
-
@builtins.classmethod
|
|
806
|
-
def create_root(cls, id: typing.Optional[builtins.str] = None) -> "Construct":
|
|
807
|
-
'''Creates a new root construct node.
|
|
808
|
-
|
|
809
|
-
: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 ``--``.
|
|
810
|
-
'''
|
|
811
|
-
if __debug__:
|
|
812
|
-
type_hints = typing.get_type_hints(_typecheckingstub__6977719c6b0c33e0c0a5ab31ece9bd2640b7d89d14eac5c29d4c0e4c558cdf70)
|
|
813
|
-
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
814
|
-
return typing.cast("Construct", jsii.sinvoke(cls, "createRoot", [id]))
|
|
815
|
-
|
|
816
804
|
@jsii.member(jsii_name="isConstruct")
|
|
817
805
|
@builtins.classmethod
|
|
818
806
|
def is_construct(cls, x: typing.Any) -> builtins.bool:
|
|
@@ -853,6 +841,28 @@ class Construct(metaclass=jsii.JSIIMeta, jsii_type="constructs.Construct"):
|
|
|
853
841
|
return typing.cast(Node, jsii.get(self, "node"))
|
|
854
842
|
|
|
855
843
|
|
|
844
|
+
class RootConstruct(
|
|
845
|
+
Construct,
|
|
846
|
+
metaclass=jsii.JSIIMeta,
|
|
847
|
+
jsii_type="constructs.RootConstruct",
|
|
848
|
+
):
|
|
849
|
+
'''Creates a new root construct node.
|
|
850
|
+
|
|
851
|
+
The root construct represents the top of the construct tree and is not contained within a parent scope itself.
|
|
852
|
+
For root constructs, the id is optional.
|
|
853
|
+
'''
|
|
854
|
+
|
|
855
|
+
def __init__(self, id: typing.Optional[builtins.str] = None) -> None:
|
|
856
|
+
'''Creates a new root construct node.
|
|
857
|
+
|
|
858
|
+
: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 ``--``.
|
|
859
|
+
'''
|
|
860
|
+
if __debug__:
|
|
861
|
+
type_hints = typing.get_type_hints(_typecheckingstub__43869d89939a2770444321abd60b2fdb0daaa395e2fa7d025fe7acd93e2d4dc3)
|
|
862
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
863
|
+
jsii.create(self.__class__, self, [id])
|
|
864
|
+
|
|
865
|
+
|
|
856
866
|
__all__ = [
|
|
857
867
|
"Construct",
|
|
858
868
|
"ConstructOrder",
|
|
@@ -864,6 +874,7 @@ __all__ = [
|
|
|
864
874
|
"MetadataEntry",
|
|
865
875
|
"MetadataOptions",
|
|
866
876
|
"Node",
|
|
877
|
+
"RootConstruct",
|
|
867
878
|
]
|
|
868
879
|
|
|
869
880
|
publication.publish()
|
|
@@ -1014,14 +1025,14 @@ def _typecheckingstub__020ca90e326a91c7b0f70a5c5df3471c78175b709d5adcbee2cb463d0
|
|
|
1014
1025
|
"""Type checking stubs"""
|
|
1015
1026
|
pass
|
|
1016
1027
|
|
|
1017
|
-
def
|
|
1018
|
-
|
|
1028
|
+
def _typecheckingstub__fd6a4114560af835bb1c07485e906499cadbf16cf78d7e344bc100586fce523f(
|
|
1029
|
+
x: typing.Any,
|
|
1019
1030
|
) -> None:
|
|
1020
1031
|
"""Type checking stubs"""
|
|
1021
1032
|
pass
|
|
1022
1033
|
|
|
1023
|
-
def
|
|
1024
|
-
|
|
1034
|
+
def _typecheckingstub__43869d89939a2770444321abd60b2fdb0daaa395e2fa7d025fe7acd93e2d4dc3(
|
|
1035
|
+
id: typing.Optional[builtins.str] = None,
|
|
1025
1036
|
) -> None:
|
|
1026
1037
|
"""Type checking stubs"""
|
|
1027
1038
|
pass
|
|
@@ -14,7 +14,7 @@ import typing_extensions
|
|
|
14
14
|
from typeguard import check_type
|
|
15
15
|
|
|
16
16
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
17
|
-
"constructs", "10.4.
|
|
17
|
+
"constructs", "10.4.2", __name__[0:-6], "constructs@10.4.2.jsii.tgz"
|
|
18
18
|
)
|
|
19
19
|
|
|
20
20
|
__all__ = [
|
|
Binary file
|
|
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
|
|
File without changes
|
|
File without changes
|