constructs 10.5.0__tar.gz → 10.5.1__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.5.0
3
+ Version: 10.5.1
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.5.0",
8
+ "version": "10.5.1",
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.5.0.jsii.tgz"
29
+ "constructs@10.5.1.jsii.tgz"
30
30
  ],
31
31
  "constructs": [
32
32
  "py.typed"
@@ -658,6 +658,24 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
658
658
  '''
659
659
  return typing.cast(typing.List[builtins.str], jsii.invoke(self, "validate", []))
660
660
 
661
+ @jsii.member(jsii_name="with")
662
+ def with_(self, *mixins: "IMixin") -> "IConstruct":
663
+ '''Applies one or more mixins to this construct.
664
+
665
+ Mixins are applied in order. The list of constructs is captured at the
666
+ start of the call, so constructs added by a mixin will not be visited.
667
+ Use multiple ``with()`` calls if subsequent mixins should apply to added
668
+ constructs.
669
+
670
+ :param mixins: The mixins to apply.
671
+
672
+ :return: This construct for chaining
673
+ '''
674
+ if __debug__:
675
+ type_hints = typing.get_type_hints(_typecheckingstub__08017fffbec51308314e453ccc5dcda053ba7a1a5d6079525d13922f66480b0b)
676
+ check_type(argname="argument mixins", value=mixins, expected_type=typing.Tuple[type_hints["mixins"], ...]) # pyright: ignore [reportGeneralTypeIssues]
677
+ return typing.cast("IConstruct", jsii.invoke(self, "with", [*mixins]))
678
+
661
679
  @jsii.python.classproperty
662
680
  @jsii.member(jsii_name="PATH_SEP")
663
681
  def PATH_SEP(cls) -> builtins.str:
@@ -1127,6 +1145,12 @@ def _typecheckingstub__0cebd94ba5b2c7d277443dcec352c8c4c87ccbf209e78088ca08a915e
1127
1145
  """Type checking stubs"""
1128
1146
  pass
1129
1147
 
1148
+ def _typecheckingstub__08017fffbec51308314e453ccc5dcda053ba7a1a5d6079525d13922f66480b0b(
1149
+ *mixins: IMixin,
1150
+ ) -> None:
1151
+ """Type checking stubs"""
1152
+ pass
1153
+
1130
1154
  def _typecheckingstub__4bbcfb9c1c2a97493a49545b146e41d7f6c46f63ff45f96526d7abf737620ea6(
1131
1155
  value: typing.Optional[IConstruct],
1132
1156
  ) -> None:
@@ -29,7 +29,7 @@ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing
29
29
  typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
30
30
 
31
31
  __jsii_assembly__ = jsii.JSIIAssembly.load(
32
- "constructs", "10.5.0", __name__[0:-6], "constructs@10.5.0.jsii.tgz"
32
+ "constructs", "10.5.1", __name__[0:-6], "constructs@10.5.1.jsii.tgz"
33
33
  )
34
34
 
35
35
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: constructs
3
- Version: 10.5.0
3
+ Version: 10.5.1
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.5.0.jsii.tgz
15
+ src/constructs/_jsii/constructs@10.5.1.jsii.tgz
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes