constructs 10.5.1__tar.gz → 10.6.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.5.1/src/constructs.egg-info → constructs-10.6.0}/PKG-INFO +2 -2
- {constructs-10.5.1 → constructs-10.6.0}/setup.py +3 -3
- {constructs-10.5.1 → constructs-10.6.0}/src/constructs/__init__.py +23 -1
- {constructs-10.5.1 → constructs-10.6.0}/src/constructs/_jsii/__init__.py +1 -1
- constructs-10.6.0/src/constructs/_jsii/constructs@10.6.0.jsii.tgz +0 -0
- {constructs-10.5.1 → constructs-10.6.0/src/constructs.egg-info}/PKG-INFO +2 -2
- {constructs-10.5.1 → constructs-10.6.0}/src/constructs.egg-info/SOURCES.txt +1 -1
- {constructs-10.5.1 → constructs-10.6.0}/src/constructs.egg-info/requires.txt +1 -1
- constructs-10.5.1/src/constructs/_jsii/constructs@10.5.1.jsii.tgz +0 -0
- {constructs-10.5.1 → constructs-10.6.0}/LICENSE +0 -0
- {constructs-10.5.1 → constructs-10.6.0}/MANIFEST.in +0 -0
- {constructs-10.5.1 → constructs-10.6.0}/NOTICE +0 -0
- {constructs-10.5.1 → constructs-10.6.0}/README.md +0 -0
- {constructs-10.5.1 → constructs-10.6.0}/pyproject.toml +0 -0
- {constructs-10.5.1 → constructs-10.6.0}/setup.cfg +0 -0
- {constructs-10.5.1 → constructs-10.6.0}/src/constructs/py.typed +0 -0
- {constructs-10.5.1 → constructs-10.6.0}/src/constructs.egg-info/dependency_links.txt +0 -0
- {constructs-10.5.1 → constructs-10.6.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.6.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>
|
|
@@ -20,7 +20,7 @@ Requires-Python: ~=3.9
|
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
License-File: LICENSE
|
|
22
22
|
License-File: NOTICE
|
|
23
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
23
|
+
Requires-Dist: jsii<2.0.0,>=1.127.0
|
|
24
24
|
Requires-Dist: publication>=0.0.3
|
|
25
25
|
Requires-Dist: typeguard==2.13.3
|
|
26
26
|
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "constructs",
|
|
8
|
-
"version": "10.
|
|
8
|
+
"version": "10.6.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,7 +26,7 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"constructs._jsii": [
|
|
29
|
-
"constructs@10.
|
|
29
|
+
"constructs@10.6.0.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"constructs": [
|
|
32
32
|
"py.typed"
|
|
@@ -34,7 +34,7 @@ kwargs = json.loads(
|
|
|
34
34
|
},
|
|
35
35
|
"python_requires": "~=3.9",
|
|
36
36
|
"install_requires": [
|
|
37
|
-
"jsii>=1.
|
|
37
|
+
"jsii>=1.127.0, <2.0.0",
|
|
38
38
|
"publication>=0.0.3",
|
|
39
39
|
"typeguard==2.13.3"
|
|
40
40
|
],
|
|
@@ -363,6 +363,7 @@ class MetadataEntry:
|
|
|
363
363
|
jsii_struct_bases=[],
|
|
364
364
|
name_mapping={
|
|
365
365
|
"stack_trace": "stackTrace",
|
|
366
|
+
"stack_trace_override": "stackTraceOverride",
|
|
366
367
|
"trace_from_function": "traceFromFunction",
|
|
367
368
|
},
|
|
368
369
|
)
|
|
@@ -371,20 +372,25 @@ class MetadataOptions:
|
|
|
371
372
|
self,
|
|
372
373
|
*,
|
|
373
374
|
stack_trace: typing.Optional[builtins.bool] = None,
|
|
375
|
+
stack_trace_override: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
374
376
|
trace_from_function: typing.Any = None,
|
|
375
377
|
) -> None:
|
|
376
378
|
'''Options for ``construct.addMetadata()``.
|
|
377
379
|
|
|
378
380
|
:param stack_trace: Include stack trace with metadata entry. Default: false
|
|
381
|
+
:param stack_trace_override: The actual stack trace to be added to the metadata. If this parameter is passed, the stackTrace parameter is ignored.
|
|
379
382
|
:param trace_from_function: A JavaScript function to begin tracing from. This option is ignored unless ``stackTrace`` is ``true``. Default: addMetadata()
|
|
380
383
|
'''
|
|
381
384
|
if __debug__:
|
|
382
385
|
type_hints = typing.get_type_hints(_typecheckingstub__75d38f18f5b98ff8e52a193cc40da1d25ab1a4740362b86cea0782ada618178b)
|
|
383
386
|
check_type(argname="argument stack_trace", value=stack_trace, expected_type=type_hints["stack_trace"])
|
|
387
|
+
check_type(argname="argument stack_trace_override", value=stack_trace_override, expected_type=type_hints["stack_trace_override"])
|
|
384
388
|
check_type(argname="argument trace_from_function", value=trace_from_function, expected_type=type_hints["trace_from_function"])
|
|
385
389
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
386
390
|
if stack_trace is not None:
|
|
387
391
|
self._values["stack_trace"] = stack_trace
|
|
392
|
+
if stack_trace_override is not None:
|
|
393
|
+
self._values["stack_trace_override"] = stack_trace_override
|
|
388
394
|
if trace_from_function is not None:
|
|
389
395
|
self._values["trace_from_function"] = trace_from_function
|
|
390
396
|
|
|
@@ -397,6 +403,16 @@ class MetadataOptions:
|
|
|
397
403
|
result = self._values.get("stack_trace")
|
|
398
404
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
399
405
|
|
|
406
|
+
@builtins.property
|
|
407
|
+
def stack_trace_override(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
408
|
+
'''The actual stack trace to be added to the metadata.
|
|
409
|
+
|
|
410
|
+
If this
|
|
411
|
+
parameter is passed, the stackTrace parameter is ignored.
|
|
412
|
+
'''
|
|
413
|
+
result = self._values.get("stack_trace_override")
|
|
414
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
415
|
+
|
|
400
416
|
@builtins.property
|
|
401
417
|
def trace_from_function(self) -> typing.Any:
|
|
402
418
|
'''A JavaScript function to begin tracing from.
|
|
@@ -477,6 +493,7 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
477
493
|
data: typing.Any,
|
|
478
494
|
*,
|
|
479
495
|
stack_trace: typing.Optional[builtins.bool] = None,
|
|
496
|
+
stack_trace_override: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
480
497
|
trace_from_function: typing.Any = None,
|
|
481
498
|
) -> None:
|
|
482
499
|
'''Adds a metadata entry to this construct.
|
|
@@ -490,6 +507,7 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
490
507
|
:param type: a string denoting the type of metadata.
|
|
491
508
|
:param data: the value of the metadata (can be a Token). If null/undefined, metadata will not be added.
|
|
492
509
|
:param stack_trace: Include stack trace with metadata entry. Default: false
|
|
510
|
+
:param stack_trace_override: The actual stack trace to be added to the metadata. If this parameter is passed, the stackTrace parameter is ignored.
|
|
493
511
|
:param trace_from_function: A JavaScript function to begin tracing from. This option is ignored unless ``stackTrace`` is ``true``. Default: addMetadata()
|
|
494
512
|
'''
|
|
495
513
|
if __debug__:
|
|
@@ -497,7 +515,9 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
|
|
|
497
515
|
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
498
516
|
check_type(argname="argument data", value=data, expected_type=type_hints["data"])
|
|
499
517
|
options = MetadataOptions(
|
|
500
|
-
stack_trace=stack_trace,
|
|
518
|
+
stack_trace=stack_trace,
|
|
519
|
+
stack_trace_override=stack_trace_override,
|
|
520
|
+
trace_from_function=trace_from_function,
|
|
501
521
|
)
|
|
502
522
|
|
|
503
523
|
return typing.cast(None, jsii.invoke(self, "addMetadata", [type, data, options]))
|
|
@@ -1055,6 +1075,7 @@ def _typecheckingstub__ac0c2f394c95b32376bd2487bfa65b455507f8363a71e56bbcfef3a69
|
|
|
1055
1075
|
def _typecheckingstub__75d38f18f5b98ff8e52a193cc40da1d25ab1a4740362b86cea0782ada618178b(
|
|
1056
1076
|
*,
|
|
1057
1077
|
stack_trace: typing.Optional[builtins.bool] = None,
|
|
1078
|
+
stack_trace_override: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1058
1079
|
trace_from_function: typing.Any = None,
|
|
1059
1080
|
) -> None:
|
|
1060
1081
|
"""Type checking stubs"""
|
|
@@ -1085,6 +1106,7 @@ def _typecheckingstub__023b8c3b11b2c1279fbfa8d54f858cec54fb8d9621c584addfbcccc63
|
|
|
1085
1106
|
data: typing.Any,
|
|
1086
1107
|
*,
|
|
1087
1108
|
stack_trace: typing.Optional[builtins.bool] = None,
|
|
1109
|
+
stack_trace_override: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1088
1110
|
trace_from_function: typing.Any = None,
|
|
1089
1111
|
) -> None:
|
|
1090
1112
|
"""Type checking stubs"""
|
|
@@ -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.
|
|
32
|
+
"constructs", "10.6.0", __name__[0:-6], "constructs@10.6.0.jsii.tgz"
|
|
33
33
|
)
|
|
34
34
|
|
|
35
35
|
__all__ = [
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: constructs
|
|
3
|
-
Version: 10.
|
|
3
|
+
Version: 10.6.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>
|
|
@@ -20,7 +20,7 @@ Requires-Python: ~=3.9
|
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
License-File: LICENSE
|
|
22
22
|
License-File: NOTICE
|
|
23
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
23
|
+
Requires-Dist: jsii<2.0.0,>=1.127.0
|
|
24
24
|
Requires-Dist: publication>=0.0.3
|
|
25
25
|
Requires-Dist: typeguard==2.13.3
|
|
26
26
|
|
|
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
|