ajithapackage1 0.0.8__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.
@@ -33,96 +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
- class HelloWorld(metaclass=jsii.JSIIMeta, jsii_type="ajithapackage1.HelloWorld"):
38
- def __init__(self, options: "IHelloOptions") -> None:
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:
39
46
  '''
40
- :param options: -
47
+ :param message:
48
+ :param timestamp:
41
49
  '''
42
50
  if __debug__:
43
- type_hints = typing.get_type_hints(_typecheckingstub__212fa063b66ca519b8e31185e36384e4fa2fa5ede3e4cca962a73b0e9cefbeac)
44
- check_type(argname="argument options", value=options, expected_type=type_hints["options"])
45
- jsii.create(self.__class__, self, [options])
46
-
47
- @jsii.member(jsii_name="generateInfo")
48
- def generate_info(self) -> "IHelloInfo":
49
- return typing.cast("IHelloInfo", jsii.invoke(self, "generateInfo", []))
50
-
51
- @jsii.member(jsii_name="sayHello")
52
- def say_hello(self) -> builtins.str:
53
- return typing.cast(builtins.str, jsii.invoke(self, "sayHello", []))
54
-
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
+ }
55
58
 
56
- @jsii.interface(jsii_type="ajithapackage1.IHelloInfo")
57
- class IHelloInfo(typing_extensions.Protocol):
58
59
  @builtins.property
59
- @jsii.member(jsii_name="message")
60
60
  def message(self) -> builtins.str:
61
- ...
61
+ result = self._values.get("message")
62
+ assert result is not None, "Required property 'message' is missing"
63
+ return typing.cast(builtins.str, result)
62
64
 
63
65
  @builtins.property
64
- @jsii.member(jsii_name="timestamp")
65
66
  def timestamp(self) -> builtins.str:
66
- ...
67
-
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)
68
107
 
69
- class _IHelloInfoProxy:
70
- __jsii_type__: typing.ClassVar[str] = "ajithapackage1.IHelloInfo"
108
+ jsii.create(self.__class__, self, [scope, id, props])
71
109
 
72
- @builtins.property
73
- @jsii.member(jsii_name="message")
74
- def message(self) -> builtins.str:
75
- return typing.cast(builtins.str, jsii.get(self, "message"))
110
+ @jsii.member(jsii_name="generateInfo")
111
+ def generate_info(self) -> HelloInfo:
112
+ return typing.cast(HelloInfo, jsii.invoke(self, "generateInfo", []))
76
113
 
77
- @builtins.property
78
- @jsii.member(jsii_name="timestamp")
79
- def timestamp(self) -> builtins.str:
80
- return typing.cast(builtins.str, jsii.get(self, "timestamp"))
114
+ @jsii.member(jsii_name="sayHello")
115
+ def say_hello(self) -> builtins.str:
116
+ return typing.cast(builtins.str, jsii.invoke(self, "sayHello", []))
81
117
 
82
- # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
83
- typing.cast(typing.Any, IHelloInfo).__jsii_proxy_class__ = lambda : _IHelloInfoProxy
84
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
85
144
 
86
- @jsii.interface(jsii_type="ajithapackage1.IHelloOptions")
87
- class IHelloOptions(typing_extensions.Protocol):
88
145
  @builtins.property
89
- @jsii.member(jsii_name="name")
90
146
  def name(self) -> builtins.str:
91
- ...
147
+ result = self._values.get("name")
148
+ assert result is not None, "Required property 'name' is missing"
149
+ return typing.cast(builtins.str, result)
92
150
 
93
151
  @builtins.property
94
- @jsii.member(jsii_name="greeting")
95
152
  def greeting(self) -> typing.Optional[builtins.str]:
96
- ...
97
-
153
+ result = self._values.get("greeting")
154
+ return typing.cast(typing.Optional[builtins.str], result)
98
155
 
99
- class _IHelloOptionsProxy:
100
- __jsii_type__: typing.ClassVar[str] = "ajithapackage1.IHelloOptions"
156
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
157
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
101
158
 
102
- @builtins.property
103
- @jsii.member(jsii_name="name")
104
- def name(self) -> builtins.str:
105
- return typing.cast(builtins.str, jsii.get(self, "name"))
106
-
107
- @builtins.property
108
- @jsii.member(jsii_name="greeting")
109
- def greeting(self) -> typing.Optional[builtins.str]:
110
- return typing.cast(typing.Optional[builtins.str], jsii.get(self, "greeting"))
159
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
160
+ return not (rhs == self)
111
161
 
112
- # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
113
- typing.cast(typing.Any, IHelloOptions).__jsii_proxy_class__ = lambda : _IHelloOptionsProxy
162
+ def __repr__(self) -> str:
163
+ return "HelloWorldProps(%s)" % ", ".join(
164
+ k + "=" + repr(v) for k, v in self._values.items()
165
+ )
114
166
 
115
167
 
116
168
  __all__ = [
117
- "HelloWorld",
118
- "IHelloInfo",
119
- "IHelloOptions",
169
+ "HelloInfo",
170
+ "HelloWorldConstruct",
171
+ "HelloWorldProps",
120
172
  ]
121
173
 
122
174
  publication.publish()
123
175
 
124
- def _typecheckingstub__212fa063b66ca519b8e31185e36384e4fa2fa5ede3e4cca962a73b0e9cefbeac(
125
- options: IHelloOptions,
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,
126
198
  ) -> None:
127
199
  """Type checking stubs"""
128
200
  pass
@@ -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.8", __name__[0:-6], "ajithapackage1@0.0.8.jsii.tgz"
35
+ "ajithapackage1", "0.0.9", __name__[0:-6], "ajithapackage1@0.0.9.jsii.tgz"
36
36
  )
37
37
 
38
38
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ajithapackage1
3
- Version: 0.0.8
3
+ Version: 0.0.9
4
4
  Summary: ajithapackage1
5
5
  Home-page: https://github.com/ajestharl/genet-test-repo.git
6
6
  Author: Ajitha<ajithamanit@gmail.com>
@@ -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,,
@@ -1,9 +0,0 @@
1
- ajithapackage1/__init__.py,sha256=2QFaZImxPoCU1Rvk9KNIoinwkD2bnTuJgrluyZQkfZg,4257
2
- ajithapackage1/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
- ajithapackage1/_jsii/__init__.py,sha256=VFrZ-48ocP1Ok1IuEB_UGB8DVFVaaqCRoKcFFgTfpKY,1439
4
- ajithapackage1/_jsii/ajithapackage1@0.0.8.jsii.tgz,sha256=rBrrOMoJ9paxab1mPbD_S4ADLB3ga7lNrTKdMdORMs0,12899
5
- ajithapackage1-0.0.8.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
- ajithapackage1-0.0.8.dist-info/METADATA,sha256=aknQPX1Z2ad2WLYbAxHuNTCnd6GCdHp9mQaLXUZAuVU,1080
7
- ajithapackage1-0.0.8.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
8
- ajithapackage1-0.0.8.dist-info/top_level.txt,sha256=0J_WE4G6O--Sqlctzr6PMCC5vVDuTk9E_3iD0rRTUZs,15
9
- ajithapackage1-0.0.8.dist-info/RECORD,,