ajithapackage1 0.0.7__py3-none-any.whl → 0.0.9__py3-none-any.whl
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.
- ajithapackage1/__init__.py +154 -4
- ajithapackage1/_jsii/__init__.py +1 -1
- ajithapackage1/_jsii/ajithapackage1@0.0.9.jsii.tgz +0 -0
- {ajithapackage1-0.0.7.dist-info → ajithapackage1-0.0.9.dist-info}/METADATA +1 -1
- ajithapackage1-0.0.9.dist-info/RECORD +9 -0
- ajithapackage1/_jsii/ajithapackage1@0.0.7.jsii.tgz +0 -0
- ajithapackage1-0.0.7.dist-info/RECORD +0 -9
- {ajithapackage1-0.0.7.dist-info → ajithapackage1-0.0.9.dist-info}/LICENSE +0 -0
- {ajithapackage1-0.0.7.dist-info → ajithapackage1-0.0.9.dist-info}/WHEEL +0 -0
- {ajithapackage1-0.0.7.dist-info → ajithapackage1-0.0.9.dist-info}/top_level.txt +0 -0
ajithapackage1/__init__.py
CHANGED
@@ -33,18 +33,168 @@ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing
|
|
33
33
|
|
34
34
|
from ._jsii import *
|
35
35
|
|
36
|
+
import constructs as _constructs_77d1e7e8
|
36
37
|
|
37
|
-
|
38
|
-
|
39
|
-
|
38
|
+
|
39
|
+
@jsii.data_type(
|
40
|
+
jsii_type="ajithapackage1.HelloInfo",
|
41
|
+
jsii_struct_bases=[],
|
42
|
+
name_mapping={"message": "message", "timestamp": "timestamp"},
|
43
|
+
)
|
44
|
+
class HelloInfo:
|
45
|
+
def __init__(self, *, message: builtins.str, timestamp: builtins.str) -> None:
|
46
|
+
'''
|
47
|
+
:param message:
|
48
|
+
:param timestamp:
|
49
|
+
'''
|
50
|
+
if __debug__:
|
51
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a0a3bc9f6618303848279c1a1b4777f70a86bf17e460ef848d770099f1d9cdcc)
|
52
|
+
check_type(argname="argument message", value=message, expected_type=type_hints["message"])
|
53
|
+
check_type(argname="argument timestamp", value=timestamp, expected_type=type_hints["timestamp"])
|
54
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
55
|
+
"message": message,
|
56
|
+
"timestamp": timestamp,
|
57
|
+
}
|
58
|
+
|
59
|
+
@builtins.property
|
60
|
+
def message(self) -> builtins.str:
|
61
|
+
result = self._values.get("message")
|
62
|
+
assert result is not None, "Required property 'message' is missing"
|
63
|
+
return typing.cast(builtins.str, result)
|
64
|
+
|
65
|
+
@builtins.property
|
66
|
+
def timestamp(self) -> builtins.str:
|
67
|
+
result = self._values.get("timestamp")
|
68
|
+
assert result is not None, "Required property 'timestamp' is missing"
|
69
|
+
return typing.cast(builtins.str, result)
|
70
|
+
|
71
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
72
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
73
|
+
|
74
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
75
|
+
return not (rhs == self)
|
76
|
+
|
77
|
+
def __repr__(self) -> str:
|
78
|
+
return "HelloInfo(%s)" % ", ".join(
|
79
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
80
|
+
)
|
81
|
+
|
82
|
+
|
83
|
+
class HelloWorldConstruct(
|
84
|
+
_constructs_77d1e7e8.Construct,
|
85
|
+
metaclass=jsii.JSIIMeta,
|
86
|
+
jsii_type="ajithapackage1.HelloWorldConstruct",
|
87
|
+
):
|
88
|
+
def __init__(
|
89
|
+
self,
|
90
|
+
scope: _constructs_77d1e7e8.Construct,
|
91
|
+
id: builtins.str,
|
92
|
+
*,
|
93
|
+
name: builtins.str,
|
94
|
+
greeting: typing.Optional[builtins.str] = None,
|
95
|
+
) -> None:
|
96
|
+
'''
|
97
|
+
:param scope: -
|
98
|
+
:param id: -
|
99
|
+
:param name:
|
100
|
+
:param greeting:
|
101
|
+
'''
|
102
|
+
if __debug__:
|
103
|
+
type_hints = typing.get_type_hints(_typecheckingstub__55d3178976d7f29e89b92b1bb0edbd0aef502c3a61d1997133ece746d73b38be)
|
104
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
105
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
106
|
+
props = HelloWorldProps(name=name, greeting=greeting)
|
107
|
+
|
108
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
109
|
+
|
110
|
+
@jsii.member(jsii_name="generateInfo")
|
111
|
+
def generate_info(self) -> HelloInfo:
|
112
|
+
return typing.cast(HelloInfo, jsii.invoke(self, "generateInfo", []))
|
40
113
|
|
41
114
|
@jsii.member(jsii_name="sayHello")
|
42
115
|
def say_hello(self) -> builtins.str:
|
43
116
|
return typing.cast(builtins.str, jsii.invoke(self, "sayHello", []))
|
44
117
|
|
45
118
|
|
119
|
+
@jsii.data_type(
|
120
|
+
jsii_type="ajithapackage1.HelloWorldProps",
|
121
|
+
jsii_struct_bases=[],
|
122
|
+
name_mapping={"name": "name", "greeting": "greeting"},
|
123
|
+
)
|
124
|
+
class HelloWorldProps:
|
125
|
+
def __init__(
|
126
|
+
self,
|
127
|
+
*,
|
128
|
+
name: builtins.str,
|
129
|
+
greeting: typing.Optional[builtins.str] = None,
|
130
|
+
) -> None:
|
131
|
+
'''
|
132
|
+
:param name:
|
133
|
+
:param greeting:
|
134
|
+
'''
|
135
|
+
if __debug__:
|
136
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4143ea399b0046a1d20fbfd2efc96ccdadad65736447c5abd9cb258aea3a84c9)
|
137
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
138
|
+
check_type(argname="argument greeting", value=greeting, expected_type=type_hints["greeting"])
|
139
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
140
|
+
"name": name,
|
141
|
+
}
|
142
|
+
if greeting is not None:
|
143
|
+
self._values["greeting"] = greeting
|
144
|
+
|
145
|
+
@builtins.property
|
146
|
+
def name(self) -> builtins.str:
|
147
|
+
result = self._values.get("name")
|
148
|
+
assert result is not None, "Required property 'name' is missing"
|
149
|
+
return typing.cast(builtins.str, result)
|
150
|
+
|
151
|
+
@builtins.property
|
152
|
+
def greeting(self) -> typing.Optional[builtins.str]:
|
153
|
+
result = self._values.get("greeting")
|
154
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
155
|
+
|
156
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
157
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
158
|
+
|
159
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
160
|
+
return not (rhs == self)
|
161
|
+
|
162
|
+
def __repr__(self) -> str:
|
163
|
+
return "HelloWorldProps(%s)" % ", ".join(
|
164
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
165
|
+
)
|
166
|
+
|
167
|
+
|
46
168
|
__all__ = [
|
47
|
-
"
|
169
|
+
"HelloInfo",
|
170
|
+
"HelloWorldConstruct",
|
171
|
+
"HelloWorldProps",
|
48
172
|
]
|
49
173
|
|
50
174
|
publication.publish()
|
175
|
+
|
176
|
+
def _typecheckingstub__a0a3bc9f6618303848279c1a1b4777f70a86bf17e460ef848d770099f1d9cdcc(
|
177
|
+
*,
|
178
|
+
message: builtins.str,
|
179
|
+
timestamp: builtins.str,
|
180
|
+
) -> None:
|
181
|
+
"""Type checking stubs"""
|
182
|
+
pass
|
183
|
+
|
184
|
+
def _typecheckingstub__55d3178976d7f29e89b92b1bb0edbd0aef502c3a61d1997133ece746d73b38be(
|
185
|
+
scope: _constructs_77d1e7e8.Construct,
|
186
|
+
id: builtins.str,
|
187
|
+
*,
|
188
|
+
name: builtins.str,
|
189
|
+
greeting: typing.Optional[builtins.str] = None,
|
190
|
+
) -> None:
|
191
|
+
"""Type checking stubs"""
|
192
|
+
pass
|
193
|
+
|
194
|
+
def _typecheckingstub__4143ea399b0046a1d20fbfd2efc96ccdadad65736447c5abd9cb258aea3a84c9(
|
195
|
+
*,
|
196
|
+
name: builtins.str,
|
197
|
+
greeting: typing.Optional[builtins.str] = None,
|
198
|
+
) -> None:
|
199
|
+
"""Type checking stubs"""
|
200
|
+
pass
|
ajithapackage1/_jsii/__init__.py
CHANGED
@@ -32,7 +32,7 @@ import aws_cdk._jsii
|
|
32
32
|
import constructs._jsii
|
33
33
|
|
34
34
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
35
|
-
"ajithapackage1", "0.0.
|
35
|
+
"ajithapackage1", "0.0.9", __name__[0:-6], "ajithapackage1@0.0.9.jsii.tgz"
|
36
36
|
)
|
37
37
|
|
38
38
|
__all__ = [
|
Binary file
|
@@ -0,0 +1,9 @@
|
|
1
|
+
ajithapackage1/__init__.py,sha256=_qr4IzGR8Cbm3Q3_eGZoDSm7RM7-cnu4UIfTca1EWo4,6789
|
2
|
+
ajithapackage1/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
+
ajithapackage1/_jsii/__init__.py,sha256=gSRlnwvB_05JY_xH0dZrJUfEGSuvvuEsoNd_AFgMaBk,1439
|
4
|
+
ajithapackage1/_jsii/ajithapackage1@0.0.9.jsii.tgz,sha256=37neu9sWJPYyulQFK3DNlVT3L2HdiXWQijEe3ya6mX4,13277
|
5
|
+
ajithapackage1-0.0.9.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
6
|
+
ajithapackage1-0.0.9.dist-info/METADATA,sha256=75eOduMrBacbqnGh6OnlOKFTJT3w9bfHkfG3fKsQ6wc,1080
|
7
|
+
ajithapackage1-0.0.9.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
8
|
+
ajithapackage1-0.0.9.dist-info/top_level.txt,sha256=0J_WE4G6O--Sqlctzr6PMCC5vVDuTk9E_3iD0rRTUZs,15
|
9
|
+
ajithapackage1-0.0.9.dist-info/RECORD,,
|
Binary file
|
@@ -1,9 +0,0 @@
|
|
1
|
-
ajithapackage1/__init__.py,sha256=ObpuDS736_VvOuM37iPKnAJZi8YsQEKD0BQd2l3OfoM,1611
|
2
|
-
ajithapackage1/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
-
ajithapackage1/_jsii/__init__.py,sha256=XA4-njd9_1TkiXRuCNBlkNPDKP6wg4cSiBsh4H3W7H0,1439
|
4
|
-
ajithapackage1/_jsii/ajithapackage1@0.0.7.jsii.tgz,sha256=Htbj9j_o2x2xREz-cJPQNCZOQC5hD2Ixxe5IYSeuLxE,11864
|
5
|
-
ajithapackage1-0.0.7.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
6
|
-
ajithapackage1-0.0.7.dist-info/METADATA,sha256=iRVSxLx5ljo7kjODjZ1YeLpquNREWHDK26Enitbqros,1080
|
7
|
-
ajithapackage1-0.0.7.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
8
|
-
ajithapackage1-0.0.7.dist-info/top_level.txt,sha256=0J_WE4G6O--Sqlctzr6PMCC5vVDuTk9E_3iD0rRTUZs,15
|
9
|
-
ajithapackage1-0.0.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|