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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: constructs
3
- Version: 10.4.0
3
+ Version: 10.4.2
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>
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "constructs",
8
- "version": "10.4.0",
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.0.jsii.tgz"
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 _typecheckingstub__6977719c6b0c33e0c0a5ab31ece9bd2640b7d89d14eac5c29d4c0e4c558cdf70(
1018
- id: typing.Optional[builtins.str] = None,
1028
+ def _typecheckingstub__fd6a4114560af835bb1c07485e906499cadbf16cf78d7e344bc100586fce523f(
1029
+ x: typing.Any,
1019
1030
  ) -> None:
1020
1031
  """Type checking stubs"""
1021
1032
  pass
1022
1033
 
1023
- def _typecheckingstub__fd6a4114560af835bb1c07485e906499cadbf16cf78d7e344bc100586fce523f(
1024
- x: typing.Any,
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.0", __name__[0:-6], "constructs@10.4.0.jsii.tgz"
17
+ "constructs", "10.4.2", __name__[0:-6], "constructs@10.4.2.jsii.tgz"
18
18
  )
19
19
 
20
20
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: constructs
3
- Version: 10.4.0
3
+ Version: 10.4.2
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>
@@ -12,4 +12,4 @@ src/constructs.egg-info/dependency_links.txt
12
12
  src/constructs.egg-info/requires.txt
13
13
  src/constructs.egg-info/top_level.txt
14
14
  src/constructs/_jsii/__init__.py
15
- src/constructs/_jsii/constructs@10.4.0.jsii.tgz
15
+ src/constructs/_jsii/constructs@10.4.2.jsii.tgz
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes