ajithapackage1 0.0.7__tar.gz → 0.0.9__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: ajithapackage1
3
- Version: 0.0.7
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>
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "ajithapackage1",
8
- "version": "0.0.7",
8
+ "version": "0.0.9",
9
9
  "description": "ajithapackage1",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/ajestharl/genet-test-repo.git",
@@ -26,7 +26,7 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "ajithapackage1._jsii": [
29
- "ajithapackage1@0.0.7.jsii.tgz"
29
+ "ajithapackage1@0.0.9.jsii.tgz"
30
30
  ],
31
31
  "ajithapackage1": [
32
32
  "py.typed"
@@ -0,0 +1,200 @@
1
+ r'''
2
+ # replace this
3
+ '''
4
+ from pkgutil import extend_path
5
+ __path__ = extend_path(__path__, __name__)
6
+
7
+ import abc
8
+ import builtins
9
+ import datetime
10
+ import enum
11
+ import typing
12
+
13
+ import jsii
14
+ import publication
15
+ import typing_extensions
16
+
17
+ import typeguard
18
+ from importlib.metadata import version as _metadata_package_version
19
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
20
+
21
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
22
+ if TYPEGUARD_MAJOR_VERSION <= 2:
23
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
24
+ else:
25
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
26
+ pass
27
+ else:
28
+ if TYPEGUARD_MAJOR_VERSION == 3:
29
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
30
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
31
+ else:
32
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
33
+
34
+ from ._jsii import *
35
+
36
+ import constructs as _constructs_77d1e7e8
37
+
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", []))
113
+
114
+ @jsii.member(jsii_name="sayHello")
115
+ def say_hello(self) -> builtins.str:
116
+ return typing.cast(builtins.str, jsii.invoke(self, "sayHello", []))
117
+
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
+
168
+ __all__ = [
169
+ "HelloInfo",
170
+ "HelloWorldConstruct",
171
+ "HelloWorldProps",
172
+ ]
173
+
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
@@ -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.7", __name__[0:-6], "ajithapackage1@0.0.7.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.7
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>
@@ -11,4 +11,4 @@ src/ajithapackage1.egg-info/dependency_links.txt
11
11
  src/ajithapackage1.egg-info/requires.txt
12
12
  src/ajithapackage1.egg-info/top_level.txt
13
13
  src/ajithapackage1/_jsii/__init__.py
14
- src/ajithapackage1/_jsii/ajithapackage1@0.0.7.jsii.tgz
14
+ src/ajithapackage1/_jsii/ajithapackage1@0.0.9.jsii.tgz
@@ -1,50 +0,0 @@
1
- r'''
2
- # replace this
3
- '''
4
- from pkgutil import extend_path
5
- __path__ = extend_path(__path__, __name__)
6
-
7
- import abc
8
- import builtins
9
- import datetime
10
- import enum
11
- import typing
12
-
13
- import jsii
14
- import publication
15
- import typing_extensions
16
-
17
- import typeguard
18
- from importlib.metadata import version as _metadata_package_version
19
- TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
20
-
21
- def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
22
- if TYPEGUARD_MAJOR_VERSION <= 2:
23
- return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
24
- else:
25
- if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
26
- pass
27
- else:
28
- if TYPEGUARD_MAJOR_VERSION == 3:
29
- typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
30
- typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
31
- else:
32
- typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
33
-
34
- from ._jsii import *
35
-
36
-
37
- class Hello(metaclass=jsii.JSIIMeta, jsii_type="ajithapackage1.Hello"):
38
- def __init__(self) -> None:
39
- jsii.create(self.__class__, self, [])
40
-
41
- @jsii.member(jsii_name="sayHello")
42
- def say_hello(self) -> builtins.str:
43
- return typing.cast(builtins.str, jsii.invoke(self, "sayHello", []))
44
-
45
-
46
- __all__ = [
47
- "Hello",
48
- ]
49
-
50
- publication.publish()
File without changes
File without changes
File without changes