constructs 10.6.0__tar.gz → 10.7.0__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.6.0/src/constructs.egg-info → constructs-10.7.0}/PKG-INFO +6 -5
- {constructs-10.6.0 → constructs-10.7.0}/pyproject.toml +2 -2
- {constructs-10.6.0 → constructs-10.7.0}/setup.py +8 -7
- {constructs-10.6.0 → constructs-10.7.0}/src/constructs/__init__.py +71 -49
- constructs-10.7.0/src/constructs/_jsii/__init__.py +25 -0
- constructs-10.7.0/src/constructs/_jsii/constructs@10.7.0.jsii.tgz +0 -0
- {constructs-10.6.0 → constructs-10.7.0/src/constructs.egg-info}/PKG-INFO +6 -5
- {constructs-10.6.0 → constructs-10.7.0}/src/constructs.egg-info/SOURCES.txt +1 -1
- constructs-10.7.0/src/constructs.egg-info/requires.txt +2 -0
- constructs-10.6.0/src/constructs/_jsii/__init__.py +0 -39
- constructs-10.6.0/src/constructs/_jsii/constructs@10.6.0.jsii.tgz +0 -0
- constructs-10.6.0/src/constructs.egg-info/requires.txt +0 -3
- {constructs-10.6.0 → constructs-10.7.0}/LICENSE +0 -0
- {constructs-10.6.0 → constructs-10.7.0}/MANIFEST.in +0 -0
- {constructs-10.6.0 → constructs-10.7.0}/NOTICE +0 -0
- {constructs-10.6.0 → constructs-10.7.0}/README.md +0 -0
- {constructs-10.6.0 → constructs-10.7.0}/setup.cfg +0 -0
- {constructs-10.6.0 → constructs-10.7.0}/src/constructs/py.typed +0 -0
- {constructs-10.6.0 → constructs-10.7.0}/src/constructs.egg-info/dependency_links.txt +0 -0
- {constructs-10.6.0 → constructs-10.7.0}/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.
|
|
3
|
+
Version: 10.7.0
|
|
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,19 +10,20 @@ 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.9
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.10
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
16
18
|
Classifier: Typing :: Typed
|
|
17
19
|
Classifier: Development Status :: 5 - Production/Stable
|
|
18
20
|
Classifier: License :: OSI Approved
|
|
19
|
-
Requires-Python:
|
|
21
|
+
Requires-Python: >=3.10
|
|
20
22
|
Description-Content-Type: text/markdown
|
|
21
23
|
License-File: LICENSE
|
|
22
24
|
License-File: NOTICE
|
|
23
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
25
|
+
Requires-Dist: jsii<2.0.0,>=1.138.0
|
|
24
26
|
Requires-Dist: publication>=0.0.3
|
|
25
|
-
Requires-Dist: typeguard==2.13.3
|
|
26
27
|
|
|
27
28
|
# Constructs
|
|
28
29
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["setuptools~=75.3.2", "build~=1.
|
|
2
|
+
requires = ["setuptools~=75.3.2", "build~=1.5.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.10"
|
|
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.
|
|
8
|
+
"version": "10.7.0",
|
|
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,26 +26,27 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"constructs._jsii": [
|
|
29
|
-
"constructs@10.
|
|
29
|
+
"constructs@10.7.0.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"constructs": [
|
|
32
32
|
"py.typed"
|
|
33
33
|
]
|
|
34
34
|
},
|
|
35
|
-
"python_requires": "
|
|
35
|
+
"python_requires": ">=3.10",
|
|
36
36
|
"install_requires": [
|
|
37
|
-
"jsii>=1.
|
|
38
|
-
"publication>=0.0.3"
|
|
39
|
-
"typeguard==2.13.3"
|
|
37
|
+
"jsii>=1.138.0, <2.0.0",
|
|
38
|
+
"publication>=0.0.3"
|
|
40
39
|
],
|
|
41
40
|
"classifiers": [
|
|
42
41
|
"Intended Audience :: Developers",
|
|
43
42
|
"Operating System :: OS Independent",
|
|
44
43
|
"Programming Language :: JavaScript",
|
|
45
44
|
"Programming Language :: Python :: 3 :: Only",
|
|
46
|
-
"Programming Language :: Python :: 3.9",
|
|
47
45
|
"Programming Language :: Python :: 3.10",
|
|
48
46
|
"Programming Language :: Python :: 3.11",
|
|
47
|
+
"Programming Language :: Python :: 3.12",
|
|
48
|
+
"Programming Language :: Python :: 3.13",
|
|
49
|
+
"Programming Language :: Python :: 3.14",
|
|
49
50
|
"Typing :: Typed",
|
|
50
51
|
"Development Status :: 5 - Production/Stable",
|
|
51
52
|
"License :: OSI Approved"
|
|
@@ -45,22 +45,8 @@ import jsii
|
|
|
45
45
|
import publication
|
|
46
46
|
import typing_extensions
|
|
47
47
|
|
|
48
|
-
import
|
|
49
|
-
|
|
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
|
|
48
|
+
from jsii._type_checking import cached_type_hints, check_type
|
|
49
|
+
|
|
64
50
|
|
|
65
51
|
from ._jsii import *
|
|
66
52
|
|
|
@@ -110,7 +96,7 @@ class Dependable(metaclass=jsii.JSIIAbstractClass, jsii_type="constructs.Dependa
|
|
|
110
96
|
:stability: deprecated
|
|
111
97
|
'''
|
|
112
98
|
if __debug__:
|
|
113
|
-
type_hints =
|
|
99
|
+
type_hints = cached_type_hints(_typecheckingstub__679510e0e5074b5be594d161aaffe1bcbf759129512d69821982adde36fb905d)
|
|
114
100
|
check_type(argname="argument instance", value=instance, expected_type=type_hints["instance"])
|
|
115
101
|
return typing.cast("Dependable", jsii.sinvoke(cls, "get", [instance]))
|
|
116
102
|
|
|
@@ -123,7 +109,7 @@ class Dependable(metaclass=jsii.JSIIAbstractClass, jsii_type="constructs.Dependa
|
|
|
123
109
|
:param trait: -
|
|
124
110
|
'''
|
|
125
111
|
if __debug__:
|
|
126
|
-
type_hints =
|
|
112
|
+
type_hints = cached_type_hints(_typecheckingstub__fccfa163f8f38b89195d804e18f7122f2b59a7ba7b57ea51cf581e4ae5719bf9)
|
|
127
113
|
check_type(argname="argument instance", value=instance, expected_type=type_hints["instance"])
|
|
128
114
|
check_type(argname="argument trait", value=trait, expected_type=type_hints["trait"])
|
|
129
115
|
return typing.cast(None, jsii.sinvoke(cls, "implement", [instance, trait]))
|
|
@@ -136,7 +122,7 @@ class Dependable(metaclass=jsii.JSIIAbstractClass, jsii_type="constructs.Dependa
|
|
|
136
122
|
:param instance: -
|
|
137
123
|
'''
|
|
138
124
|
if __debug__:
|
|
139
|
-
type_hints =
|
|
125
|
+
type_hints = cached_type_hints(_typecheckingstub__54a9441299838c86c77ad919b31ab158da6bd872c3bf8bf55f147c17abeea083)
|
|
140
126
|
check_type(argname="argument instance", value=instance, expected_type=type_hints["instance"])
|
|
141
127
|
return typing.cast("Dependable", jsii.sinvoke(cls, "of", [instance]))
|
|
142
128
|
|
|
@@ -235,7 +221,7 @@ class _IMixinProxy:
|
|
|
235
221
|
:param construct: -
|
|
236
222
|
'''
|
|
237
223
|
if __debug__:
|
|
238
|
-
type_hints =
|
|
224
|
+
type_hints = cached_type_hints(_typecheckingstub__ef3057d7b2239a822adb30db5073786298478cd3fa000528394c84d1aeecee1f)
|
|
239
225
|
check_type(argname="argument construct", value=construct, expected_type=type_hints["construct"])
|
|
240
226
|
return typing.cast(None, jsii.invoke(self, "applyTo", [construct]))
|
|
241
227
|
|
|
@@ -246,7 +232,7 @@ class _IMixinProxy:
|
|
|
246
232
|
:param construct: -
|
|
247
233
|
'''
|
|
248
234
|
if __debug__:
|
|
249
|
-
type_hints =
|
|
235
|
+
type_hints = cached_type_hints(_typecheckingstub__55ea6788f825fe03077ad971427d715ae61f5ac50df36f708925449c85f4b3b6)
|
|
250
236
|
check_type(argname="argument construct", value=construct, expected_type=type_hints["construct"])
|
|
251
237
|
return typing.cast(builtins.bool, jsii.invoke(self, "supports", [construct]))
|
|
252
238
|
|
|
@@ -310,7 +296,7 @@ class MetadataEntry:
|
|
|
310
296
|
:param trace: Stack trace at the point of adding the metadata. Only available if ``addMetadata()`` is called with ``stackTrace: true``. Default: - no trace information
|
|
311
297
|
'''
|
|
312
298
|
if __debug__:
|
|
313
|
-
type_hints =
|
|
299
|
+
type_hints = cached_type_hints(_typecheckingstub__ac0c2f394c95b32376bd2487bfa65b455507f8363a71e56bbcfef3a690552658)
|
|
314
300
|
check_type(argname="argument data", value=data, expected_type=type_hints["data"])
|
|
315
301
|
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
316
302
|
check_type(argname="argument trace", value=trace, expected_type=type_hints["trace"])
|
|
@@ -382,7 +368,7 @@ class MetadataOptions:
|
|
|
382
368
|
:param trace_from_function: A JavaScript function to begin tracing from. This option is ignored unless ``stackTrace`` is ``true``. Default: addMetadata()
|
|
383
369
|
'''
|
|
384
370
|
if __debug__:
|
|
385
|
-
type_hints =
|
|
371
|
+
type_hints = cached_type_hints(_typecheckingstub__75d38f18f5b98ff8e52a193cc40da1d25ab1a4740362b86cea0782ada618178b)
|
|
386
372
|
check_type(argname="argument stack_trace", value=stack_trace, expected_type=type_hints["stack_trace"])
|
|
387
373
|
check_type(argname="argument stack_trace_override", value=stack_trace_override, expected_type=type_hints["stack_trace_override"])
|
|
388
374
|
check_type(argname="argument trace_from_function", value=trace_from_function, expected_type=type_hints["trace_from_function"])
|
|
@@ -451,7 +437,7 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
451
437
|
:param id: -
|
|
452
438
|
'''
|
|
453
439
|
if __debug__:
|
|
454
|
-
type_hints =
|
|
440
|
+
type_hints = cached_type_hints(_typecheckingstub__a3d6f98f49be8b52dd81458a10a699ba3c2baedf270e915aff9ad4a199629f16)
|
|
455
441
|
check_type(argname="argument host", value=host, expected_type=type_hints["host"])
|
|
456
442
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
457
443
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
@@ -469,20 +455,32 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
469
455
|
:stability: deprecated
|
|
470
456
|
'''
|
|
471
457
|
if __debug__:
|
|
472
|
-
type_hints =
|
|
458
|
+
type_hints = cached_type_hints(_typecheckingstub__6e976ef1a5da0fe82b55c8d7dec2b729e665c685a6fd4cf13e79d119b83e883b)
|
|
473
459
|
check_type(argname="argument construct", value=construct, expected_type=type_hints["construct"])
|
|
474
460
|
return typing.cast("Node", jsii.sinvoke(cls, "of", [construct]))
|
|
475
461
|
|
|
476
462
|
@jsii.member(jsii_name="addDependency")
|
|
477
463
|
def add_dependency(self, *deps: "IDependable") -> None:
|
|
478
|
-
'''Add an ordering dependency on
|
|
479
|
-
|
|
480
|
-
|
|
464
|
+
'''Add an ordering dependency on a Dependable (a construct or set of constructs).
|
|
465
|
+
|
|
466
|
+
It is up to the target document language to decide what an ordering
|
|
467
|
+
relationship means and how it should be rendered; for example, in the AWS
|
|
468
|
+
CDK for CloudFormation it means a dependency from every resource in scope
|
|
469
|
+
of the current construct to every resource in scope of the target set
|
|
470
|
+
of constructs, that get realized as either stack dependencies or
|
|
471
|
+
``DependsOn`` relationships in the synthesized template.
|
|
472
|
+
|
|
473
|
+
``IDependable`` is a marker interface that indicates that a class has used
|
|
474
|
+
``Dependable.implement()`` to implement the ``IDependable`` interface. It
|
|
475
|
+
can be used to make the target object represent more than one set of
|
|
476
|
+
constructs at a time. For example, a ``DependencyGroup`` uses this
|
|
477
|
+
interface to represent an explicit list of 0 or more constructs that should
|
|
478
|
+
be involved in the dependency relationship.
|
|
481
479
|
|
|
482
480
|
:param deps: -
|
|
483
481
|
'''
|
|
484
482
|
if __debug__:
|
|
485
|
-
type_hints =
|
|
483
|
+
type_hints = cached_type_hints(_typecheckingstub__45cad7dd42c6c671e9f87ba7d66096044214dd8c5bfed807ecb8eee7b41edd21)
|
|
486
484
|
check_type(argname="argument deps", value=deps, expected_type=typing.Tuple[type_hints["deps"], ...]) # pyright: ignore [reportGeneralTypeIssues]
|
|
487
485
|
return typing.cast(None, jsii.invoke(self, "addDependency", [*deps]))
|
|
488
486
|
|
|
@@ -511,7 +509,7 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
511
509
|
:param trace_from_function: A JavaScript function to begin tracing from. This option is ignored unless ``stackTrace`` is ``true``. Default: addMetadata()
|
|
512
510
|
'''
|
|
513
511
|
if __debug__:
|
|
514
|
-
type_hints =
|
|
512
|
+
type_hints = cached_type_hints(_typecheckingstub__023b8c3b11b2c1279fbfa8d54f858cec54fb8d9621c584addfbcccc63dbce202)
|
|
515
513
|
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
516
514
|
check_type(argname="argument data", value=data, expected_type=type_hints["data"])
|
|
517
515
|
options = MetadataOptions(
|
|
@@ -532,7 +530,7 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
532
530
|
:param validation: The validation object.
|
|
533
531
|
'''
|
|
534
532
|
if __debug__:
|
|
535
|
-
type_hints =
|
|
533
|
+
type_hints = cached_type_hints(_typecheckingstub__67eb37a7475000d487d8124e00d1a8f5c0da44f9b68527dd02d18a3a789e11a0)
|
|
536
534
|
check_type(argname="argument validation", value=validation, expected_type=type_hints["validation"])
|
|
537
535
|
return typing.cast(None, jsii.invoke(self, "addValidation", [validation]))
|
|
538
536
|
|
|
@@ -546,7 +544,7 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
546
544
|
:param order: -
|
|
547
545
|
'''
|
|
548
546
|
if __debug__:
|
|
549
|
-
type_hints =
|
|
547
|
+
type_hints = cached_type_hints(_typecheckingstub__bc361d795aa7b43307a9b4d8126549b970305e1487dfba0b95baabe4805e7c1b)
|
|
550
548
|
check_type(argname="argument order", value=order, expected_type=type_hints["order"])
|
|
551
549
|
return typing.cast(typing.List["IConstruct"], jsii.invoke(self, "findAll", [order]))
|
|
552
550
|
|
|
@@ -561,7 +559,7 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
561
559
|
:return: Child with the given id.
|
|
562
560
|
'''
|
|
563
561
|
if __debug__:
|
|
564
|
-
type_hints =
|
|
562
|
+
type_hints = cached_type_hints(_typecheckingstub__fad30dac2587986f1ad461ddbfadd8c7bdb66542692e2272c9ea5e2487f4fa5f)
|
|
565
563
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
566
564
|
return typing.cast("IConstruct", jsii.invoke(self, "findChild", [id]))
|
|
567
565
|
|
|
@@ -579,7 +577,7 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
579
577
|
:return: The context object or an empty object if there is discovered context
|
|
580
578
|
'''
|
|
581
579
|
if __debug__:
|
|
582
|
-
type_hints =
|
|
580
|
+
type_hints = cached_type_hints(_typecheckingstub__7b2abb9ce64f01035fe598b09baa8049b185b7c4ad02e47befe0c70908a1e000)
|
|
583
581
|
check_type(argname="argument defaults", value=defaults, expected_type=type_hints["defaults"])
|
|
584
582
|
return typing.cast(typing.Any, jsii.invoke(self, "getAllContext", [defaults]))
|
|
585
583
|
|
|
@@ -594,7 +592,7 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
594
592
|
:return: The context value or throws error if there is no context value for this key
|
|
595
593
|
'''
|
|
596
594
|
if __debug__:
|
|
597
|
-
type_hints =
|
|
595
|
+
type_hints = cached_type_hints(_typecheckingstub__1fdfdfb2b2e83a2845cb899305c37d4e37ae13634e2150fa9895e715f45e2752)
|
|
598
596
|
check_type(argname="argument key", value=key, expected_type=type_hints["key"])
|
|
599
597
|
return typing.cast(typing.Any, jsii.invoke(self, "getContext", [key]))
|
|
600
598
|
|
|
@@ -607,6 +605,20 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
607
605
|
'''
|
|
608
606
|
return typing.cast(None, jsii.invoke(self, "lock", []))
|
|
609
607
|
|
|
608
|
+
@jsii.member(jsii_name="removeDependency")
|
|
609
|
+
def remove_dependency(self, *deps: "IDependable") -> None:
|
|
610
|
+
'''Remove an ordering dependency on a Dependenable (a construct or set of constructs).
|
|
611
|
+
|
|
612
|
+
This removes any dependency added using ``node.addDependency()``. It must
|
|
613
|
+
use the exact same object that was involved in the ``addDependency()`` call.
|
|
614
|
+
|
|
615
|
+
:param deps: -
|
|
616
|
+
'''
|
|
617
|
+
if __debug__:
|
|
618
|
+
type_hints = cached_type_hints(_typecheckingstub__f3fac4c2d303a634641712c3d8f9bc03e22fbacc698256977b80179762f660fd)
|
|
619
|
+
check_type(argname="argument deps", value=deps, expected_type=typing.Tuple[type_hints["deps"], ...]) # pyright: ignore [reportGeneralTypeIssues]
|
|
620
|
+
return typing.cast(None, jsii.invoke(self, "removeDependency", [*deps]))
|
|
621
|
+
|
|
610
622
|
@jsii.member(jsii_name="setContext")
|
|
611
623
|
def set_context(self, key: builtins.str, value: typing.Any) -> None:
|
|
612
624
|
'''This can be used to set contextual values.
|
|
@@ -618,7 +630,7 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
618
630
|
:param value: The context value.
|
|
619
631
|
'''
|
|
620
632
|
if __debug__:
|
|
621
|
-
type_hints =
|
|
633
|
+
type_hints = cached_type_hints(_typecheckingstub__f4c20143e21f2a664bb5dbe7722603b1619d511e670df423c20328efe6ebfea2)
|
|
622
634
|
check_type(argname="argument key", value=key, expected_type=type_hints["key"])
|
|
623
635
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
624
636
|
return typing.cast(None, jsii.invoke(self, "setContext", [key, value]))
|
|
@@ -632,7 +644,7 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
632
644
|
:return: the child if found, or undefined
|
|
633
645
|
'''
|
|
634
646
|
if __debug__:
|
|
635
|
-
type_hints =
|
|
647
|
+
type_hints = cached_type_hints(_typecheckingstub__0dd332a688f70d4b16d58ad213f452996e4d14aa0f1ab9a377000ebd711a387e)
|
|
636
648
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
637
649
|
return typing.cast(typing.Optional["IConstruct"], jsii.invoke(self, "tryFindChild", [id]))
|
|
638
650
|
|
|
@@ -647,7 +659,7 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
647
659
|
:return: The context value or ``undefined`` if there is no context value for this key.
|
|
648
660
|
'''
|
|
649
661
|
if __debug__:
|
|
650
|
-
type_hints =
|
|
662
|
+
type_hints = cached_type_hints(_typecheckingstub__736aac5a797564303e88fbc9bbd5d9ec05b62a898284a05b7d16b1761c28b181)
|
|
651
663
|
check_type(argname="argument key", value=key, expected_type=type_hints["key"])
|
|
652
664
|
return typing.cast(typing.Any, jsii.invoke(self, "tryGetContext", [key]))
|
|
653
665
|
|
|
@@ -660,7 +672,7 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
660
672
|
:return: Whether a child with the given name was deleted.
|
|
661
673
|
'''
|
|
662
674
|
if __debug__:
|
|
663
|
-
type_hints =
|
|
675
|
+
type_hints = cached_type_hints(_typecheckingstub__0cebd94ba5b2c7d277443dcec352c8c4c87ccbf209e78088ca08a915eb956e36)
|
|
664
676
|
check_type(argname="argument child_name", value=child_name, expected_type=type_hints["child_name"])
|
|
665
677
|
return typing.cast(builtins.bool, jsii.invoke(self, "tryRemoveChild", [child_name]))
|
|
666
678
|
|
|
@@ -692,7 +704,7 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
692
704
|
:return: This construct for chaining
|
|
693
705
|
'''
|
|
694
706
|
if __debug__:
|
|
695
|
-
type_hints =
|
|
707
|
+
type_hints = cached_type_hints(_typecheckingstub__08017fffbec51308314e453ccc5dcda053ba7a1a5d6079525d13922f66480b0b)
|
|
696
708
|
check_type(argname="argument mixins", value=mixins, expected_type=typing.Tuple[type_hints["mixins"], ...]) # pyright: ignore [reportGeneralTypeIssues]
|
|
697
709
|
return typing.cast("IConstruct", jsii.invoke(self, "with", [*mixins]))
|
|
698
710
|
|
|
@@ -732,7 +744,11 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
732
744
|
@builtins.property
|
|
733
745
|
@jsii.member(jsii_name="dependencies")
|
|
734
746
|
def dependencies(self) -> typing.List["IConstruct"]:
|
|
735
|
-
'''
|
|
747
|
+
'''Constructs that this construct depends on directly.
|
|
748
|
+
|
|
749
|
+
This expands the sets of ``Dependables`` to the set of ``Constructs`` that they
|
|
750
|
+
represent.
|
|
751
|
+
'''
|
|
736
752
|
return typing.cast(typing.List["IConstruct"], jsii.get(self, "dependencies"))
|
|
737
753
|
|
|
738
754
|
@builtins.property
|
|
@@ -824,7 +840,7 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
824
840
|
@default_child.setter
|
|
825
841
|
def default_child(self, value: typing.Optional["IConstruct"]) -> None:
|
|
826
842
|
if __debug__:
|
|
827
|
-
type_hints =
|
|
843
|
+
type_hints = cached_type_hints(_typecheckingstub__4bbcfb9c1c2a97493a49545b146e41d7f6c46f63ff45f96526d7abf737620ea6)
|
|
828
844
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
829
845
|
jsii.set(self, "defaultChild", value) # pyright: ignore[reportArgumentType]
|
|
830
846
|
|
|
@@ -842,7 +858,7 @@ class DependencyGroup(metaclass=jsii.JSIIMeta, jsii_type="constructs.DependencyG
|
|
|
842
858
|
:param deps: -
|
|
843
859
|
'''
|
|
844
860
|
if __debug__:
|
|
845
|
-
type_hints =
|
|
861
|
+
type_hints = cached_type_hints(_typecheckingstub__352fc9ab190809e73b4fcb80cbc3398602d98955aad9386dfbc7162176aa6cbc)
|
|
846
862
|
check_type(argname="argument deps", value=deps, expected_type=typing.Tuple[type_hints["deps"], ...]) # pyright: ignore [reportGeneralTypeIssues]
|
|
847
863
|
jsii.create(self.__class__, self, [*deps])
|
|
848
864
|
|
|
@@ -853,7 +869,7 @@ class DependencyGroup(metaclass=jsii.JSIIMeta, jsii_type="constructs.DependencyG
|
|
|
853
869
|
:param scopes: -
|
|
854
870
|
'''
|
|
855
871
|
if __debug__:
|
|
856
|
-
type_hints =
|
|
872
|
+
type_hints = cached_type_hints(_typecheckingstub__b0e6908dfe4df8e9318ecca332ccd3a1a3e28fcf76f414daa5a764cba186ef02)
|
|
857
873
|
check_type(argname="argument scopes", value=scopes, expected_type=typing.Tuple[type_hints["scopes"], ...]) # pyright: ignore [reportGeneralTypeIssues]
|
|
858
874
|
return typing.cast(None, jsii.invoke(self, "add", [*scopes]))
|
|
859
875
|
|
|
@@ -907,7 +923,7 @@ class _IConstructProxy(
|
|
|
907
923
|
:return: This construct for chaining
|
|
908
924
|
'''
|
|
909
925
|
if __debug__:
|
|
910
|
-
type_hints =
|
|
926
|
+
type_hints = cached_type_hints(_typecheckingstub__46ffe71712de730652fef13db2a6a7bf3168d82f7537656ad03e0ad2b5db5b61)
|
|
911
927
|
check_type(argname="argument mixins", value=mixins, expected_type=typing.Tuple[type_hints["mixins"], ...]) # pyright: ignore [reportGeneralTypeIssues]
|
|
912
928
|
return typing.cast("IConstruct", jsii.invoke(self, "with", [*mixins]))
|
|
913
929
|
|
|
@@ -930,7 +946,7 @@ class Construct(metaclass=jsii.JSIIMeta, jsii_type="constructs.Construct"):
|
|
|
930
946
|
: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 ``--``.
|
|
931
947
|
'''
|
|
932
948
|
if __debug__:
|
|
933
|
-
type_hints =
|
|
949
|
+
type_hints = cached_type_hints(_typecheckingstub__020ca90e326a91c7b0f70a5c5df3471c78175b709d5adcbee2cb463d0367e387)
|
|
934
950
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
935
951
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
936
952
|
jsii.create(self.__class__, self, [scope, id])
|
|
@@ -959,7 +975,7 @@ class Construct(metaclass=jsii.JSIIMeta, jsii_type="constructs.Construct"):
|
|
|
959
975
|
:return: true if ``x`` is an object created from a class which extends ``Construct``.
|
|
960
976
|
'''
|
|
961
977
|
if __debug__:
|
|
962
|
-
type_hints =
|
|
978
|
+
type_hints = cached_type_hints(_typecheckingstub__fd6a4114560af835bb1c07485e906499cadbf16cf78d7e344bc100586fce523f)
|
|
963
979
|
check_type(argname="argument x", value=x, expected_type=type_hints["x"])
|
|
964
980
|
return typing.cast(builtins.bool, jsii.sinvoke(cls, "isConstruct", [x]))
|
|
965
981
|
|
|
@@ -982,7 +998,7 @@ class Construct(metaclass=jsii.JSIIMeta, jsii_type="constructs.Construct"):
|
|
|
982
998
|
:return: This construct for chaining
|
|
983
999
|
'''
|
|
984
1000
|
if __debug__:
|
|
985
|
-
type_hints =
|
|
1001
|
+
type_hints = cached_type_hints(_typecheckingstub__dcdf5ec1470924572ba805d2d121897d3ef8160905bcb57bc551eb0b9e2e35a7)
|
|
986
1002
|
check_type(argname="argument mixins", value=mixins, expected_type=typing.Tuple[type_hints["mixins"], ...]) # pyright: ignore [reportGeneralTypeIssues]
|
|
987
1003
|
return typing.cast("IConstruct", jsii.invoke(self, "with", [*mixins]))
|
|
988
1004
|
|
|
@@ -1010,7 +1026,7 @@ class RootConstruct(
|
|
|
1010
1026
|
: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 ``--``.
|
|
1011
1027
|
'''
|
|
1012
1028
|
if __debug__:
|
|
1013
|
-
type_hints =
|
|
1029
|
+
type_hints = cached_type_hints(_typecheckingstub__43869d89939a2770444321abd60b2fdb0daaa395e2fa7d025fe7acd93e2d4dc3)
|
|
1014
1030
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1015
1031
|
jsii.create(self.__class__, self, [id])
|
|
1016
1032
|
|
|
@@ -1142,6 +1158,12 @@ def _typecheckingstub__1fdfdfb2b2e83a2845cb899305c37d4e37ae13634e2150fa9895e715f
|
|
|
1142
1158
|
"""Type checking stubs"""
|
|
1143
1159
|
pass
|
|
1144
1160
|
|
|
1161
|
+
def _typecheckingstub__f3fac4c2d303a634641712c3d8f9bc03e22fbacc698256977b80179762f660fd(
|
|
1162
|
+
*deps: IDependable,
|
|
1163
|
+
) -> None:
|
|
1164
|
+
"""Type checking stubs"""
|
|
1165
|
+
pass
|
|
1166
|
+
|
|
1145
1167
|
def _typecheckingstub__f4c20143e21f2a664bb5dbe7722603b1619d511e670df423c20328efe6ebfea2(
|
|
1146
1168
|
key: builtins.str,
|
|
1147
1169
|
value: typing.Any,
|
|
@@ -0,0 +1,25 @@
|
|
|
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 jsii._type_checking import cached_type_hints, check_type
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
18
|
+
"constructs", "10.7.0", __name__[0:-6], "constructs@10.7.0.jsii.tgz"
|
|
19
|
+
)
|
|
20
|
+
|
|
21
|
+
__all__ = [
|
|
22
|
+
"__jsii_assembly__",
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
publication.publish()
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: constructs
|
|
3
|
-
Version: 10.
|
|
3
|
+
Version: 10.7.0
|
|
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,19 +10,20 @@ 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.9
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.10
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
16
18
|
Classifier: Typing :: Typed
|
|
17
19
|
Classifier: Development Status :: 5 - Production/Stable
|
|
18
20
|
Classifier: License :: OSI Approved
|
|
19
|
-
Requires-Python:
|
|
21
|
+
Requires-Python: >=3.10
|
|
20
22
|
Description-Content-Type: text/markdown
|
|
21
23
|
License-File: LICENSE
|
|
22
24
|
License-File: NOTICE
|
|
23
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
25
|
+
Requires-Dist: jsii<2.0.0,>=1.138.0
|
|
24
26
|
Requires-Dist: publication>=0.0.3
|
|
25
|
-
Requires-Dist: typeguard==2.13.3
|
|
26
27
|
|
|
27
28
|
# Constructs
|
|
28
29
|
|
|
@@ -1,39 +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
|
-
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.6.0", __name__[0:-6], "constructs@10.6.0.jsii.tgz"
|
|
33
|
-
)
|
|
34
|
-
|
|
35
|
-
__all__ = [
|
|
36
|
-
"__jsii_assembly__",
|
|
37
|
-
]
|
|
38
|
-
|
|
39
|
-
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
|