ominfra 0.0.0.dev368__py3-none-any.whl → 0.0.0.dev501__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.
Potentially problematic release.
This version of ominfra might be problematic. Click here for more details.
- ominfra/{.manifests.json → .omlish-manifests.json} +6 -6
- ominfra/README.md +26 -0
- ominfra/__about__.py +6 -3
- ominfra/clouds/aws/auth.py +1 -0
- ominfra/clouds/aws/instancetypes/cache.json.gz +0 -0
- ominfra/clouds/aws/instancetypes/cli.py +1 -1
- ominfra/clouds/aws/journald2aws/cursor.py +5 -1
- ominfra/clouds/aws/journald2aws/driver.py +4 -1
- ominfra/clouds/aws/journald2aws/main.py +1 -1
- ominfra/clouds/aws/journald2aws/poster.py +5 -1
- ominfra/clouds/aws/models/{base.py → base/__init__.py} +7 -2
- ominfra/clouds/aws/models/base/_dataclasses.py +721 -0
- ominfra/clouds/aws/models/gen/cli.py +2 -1
- ominfra/clouds/aws/models/gen/gen.py +16 -7
- ominfra/clouds/aws/models/services/{ec2.py → ec2/__init__.py} +227 -1
- ominfra/clouds/aws/models/services/ec2/_dataclasses.py +30654 -0
- ominfra/clouds/aws/models/services/{lambda_.py → lambda_/__init__.py} +139 -1
- ominfra/clouds/aws/models/services/lambda_/_dataclasses.py +4182 -0
- ominfra/clouds/aws/models/services/{rds.py → rds/__init__.py} +254 -78
- ominfra/clouds/aws/models/services/rds/_dataclasses.py +8231 -0
- ominfra/clouds/aws/models/services/{s3.py → s3/__init__.py} +9 -1
- ominfra/clouds/aws/models/services/s3/_dataclasses.py +5014 -0
- ominfra/commands/runners.py +2 -0
- ominfra/commands/ssh.py +3 -0
- ominfra/journald/messages.py +4 -1
- ominfra/journald/tailer.py +13 -10
- ominfra/manage/bootstrap_.py +1 -1
- ominfra/manage/commands/base.py +7 -6
- ominfra/manage/deploy/commands.py +4 -1
- ominfra/manage/deploy/conf/specs.py +2 -2
- ominfra/manage/deploy/paths/owners.py +3 -2
- ominfra/manage/deploy/paths/paths.py +4 -3
- ominfra/manage/deploy/tags.py +8 -8
- ominfra/manage/inject.py +2 -1
- ominfra/manage/main.py +5 -3
- ominfra/manage/remote/_main.py +5 -1
- ominfra/manage/remote/channel.py +2 -1
- ominfra/manage/remote/execution.py +10 -6
- ominfra/manage/remote/spawning.py +2 -1
- ominfra/manage/system/commands.py +4 -1
- ominfra/manage/system/packages.py +2 -1
- ominfra/manage/system/platforms.py +7 -4
- ominfra/manage/targets/bestpython.sh +1 -1
- ominfra/manage/targets/connection.py +2 -1
- ominfra/manage/targets/targets.py +5 -5
- ominfra/scripts/journald2aws.py +5386 -2425
- ominfra/scripts/manage.py +10604 -7389
- ominfra/scripts/supervisor.py +7168 -4002
- ominfra/supervisor/configs.py +6 -6
- ominfra/supervisor/dispatchers.py +3 -0
- ominfra/supervisor/dispatchersimpl.py +9 -3
- ominfra/supervisor/events.py +13 -6
- ominfra/supervisor/groups.py +3 -0
- ominfra/supervisor/groupsimpl.py +3 -0
- ominfra/supervisor/http.py +1 -1
- ominfra/supervisor/inject.py +3 -0
- ominfra/supervisor/io.py +4 -1
- ominfra/supervisor/main.py +4 -4
- ominfra/supervisor/pipes.py +3 -0
- ominfra/supervisor/privileges.py +3 -0
- ominfra/supervisor/processimpl.py +4 -1
- ominfra/supervisor/setup.py +4 -2
- ominfra/supervisor/setupimpl.py +4 -1
- ominfra/supervisor/signals.py +7 -1
- ominfra/supervisor/spawning.py +3 -0
- ominfra/supervisor/supervisor.py +4 -1
- ominfra/supervisor/types.py +9 -8
- ominfra/supervisor/utils/collections.py +7 -2
- ominfra/supervisor/utils/diag.py +3 -0
- ominfra/supervisor/utils/fds.py +3 -0
- ominfra/supervisor/utils/fs.py +3 -0
- ominfra/supervisor/utils/os.py +3 -2
- ominfra/supervisor/utils/strings.py +1 -0
- ominfra/threadworkers.py +6 -2
- ominfra/tools/listresources.py +1 -1
- ominfra-0.0.0.dev501.dist-info/METADATA +54 -0
- {ominfra-0.0.0.dev368.dist-info → ominfra-0.0.0.dev501.dist-info}/RECORD +81 -75
- ominfra-0.0.0.dev368.dist-info/METADATA +0 -23
- {ominfra-0.0.0.dev368.dist-info → ominfra-0.0.0.dev501.dist-info}/WHEEL +0 -0
- {ominfra-0.0.0.dev368.dist-info → ominfra-0.0.0.dev501.dist-info}/entry_points.txt +0 -0
- {ominfra-0.0.0.dev368.dist-info → ominfra-0.0.0.dev501.dist-info}/licenses/LICENSE +0 -0
- {ominfra-0.0.0.dev368.dist-info → ominfra-0.0.0.dev501.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,4182 @@
|
|
|
1
|
+
# @omlish-generated
|
|
2
|
+
# type: ignore
|
|
3
|
+
# ruff: noqa
|
|
4
|
+
# flake8: noqa
|
|
5
|
+
import dataclasses
|
|
6
|
+
import reprlib
|
|
7
|
+
import types
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
##
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
REGISTRY = {}
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def _register(**kwargs):
|
|
17
|
+
def inner(fn):
|
|
18
|
+
REGISTRY[kwargs['plan_repr']] = (kwargs, fn)
|
|
19
|
+
return fn
|
|
20
|
+
return inner
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
##
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
@_register(
|
|
27
|
+
plan_repr=(
|
|
28
|
+
"Plans(tup=(CopyPlan(fields=('lambda_managed_instances_capacity_provider_config',)), EqPlan(fields=('lambda_man"
|
|
29
|
+
"aged_instances_capacity_provider_config',)), FrozenPlan(fields=('__shape__', 'lambda_managed_instances_capacit"
|
|
30
|
+
"y_provider_config'), allow_dynamic_dunder_attrs=False), HashPlan(action='add', fields=('lambda_managed_instanc"
|
|
31
|
+
"es_capacity_provider_config',), cache=False), InitPlan(fields=(InitPlan.Field(name='__shape__', annotation=OpR"
|
|
32
|
+
"ef(name='init.fields.0.annotation'), default=None, default_factory=None, init=True, override=False, field_type"
|
|
33
|
+
"=FieldType.CLASS_VAR, coerce=None, validate=None, check_type=None), InitPlan.Field(name='lambda_managed_instan"
|
|
34
|
+
"ces_capacity_provider_config', annotation=OpRef(name='init.fields.1.annotation'), default=None, default_factor"
|
|
35
|
+
"y=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)"
|
|
36
|
+
"), self_param='self', std_params=(), kw_only_params=('lambda_managed_instances_capacity_provider_config',), fr"
|
|
37
|
+
"ozen=True, slots=False, post_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field("
|
|
38
|
+
"name='lambda_managed_instances_capacity_provider_config', kw_only=True, fn=None),), id=False, terse=False, def"
|
|
39
|
+
"ault_fn=None)))"
|
|
40
|
+
),
|
|
41
|
+
plan_repr_sha1='56a73cc80905fe58ffa6800ba93fc9b519922728',
|
|
42
|
+
op_ref_idents=(
|
|
43
|
+
'__dataclass__init__fields__1__annotation',
|
|
44
|
+
),
|
|
45
|
+
cls_names=(
|
|
46
|
+
('ominfra.clouds.aws.models.services.lambda_', 'CapacityProviderConfig'),
|
|
47
|
+
),
|
|
48
|
+
)
|
|
49
|
+
def _process_dataclass__56a73cc80905fe58ffa6800ba93fc9b519922728():
|
|
50
|
+
def _process_dataclass(
|
|
51
|
+
*,
|
|
52
|
+
__dataclass__cls,
|
|
53
|
+
__dataclass__init__fields__1__annotation,
|
|
54
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
55
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
56
|
+
__dataclass__FnValidationError, # noqa
|
|
57
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
58
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
59
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
60
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
61
|
+
__dataclass__None=None, # noqa
|
|
62
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
63
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
64
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
65
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
66
|
+
__dataclass__property=property, # noqa
|
|
67
|
+
):
|
|
68
|
+
def __copy__(self):
|
|
69
|
+
if self.__class__ is not __dataclass__cls:
|
|
70
|
+
raise TypeError(self)
|
|
71
|
+
return __dataclass__cls( # noqa
|
|
72
|
+
lambda_managed_instances_capacity_provider_config=self.lambda_managed_instances_capacity_provider_config,
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
76
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
77
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
78
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
79
|
+
|
|
80
|
+
def __eq__(self, other):
|
|
81
|
+
if self is other:
|
|
82
|
+
return True
|
|
83
|
+
if self.__class__ is not other.__class__:
|
|
84
|
+
return NotImplemented
|
|
85
|
+
return (
|
|
86
|
+
self.lambda_managed_instances_capacity_provider_config == other.lambda_managed_instances_capacity_provider_config
|
|
87
|
+
)
|
|
88
|
+
|
|
89
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
90
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
91
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
92
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
93
|
+
|
|
94
|
+
__dataclass___setattr_frozen_fields = {
|
|
95
|
+
'__shape__',
|
|
96
|
+
'lambda_managed_instances_capacity_provider_config',
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
def __setattr__(self, name, value):
|
|
100
|
+
if (
|
|
101
|
+
type(self) is __dataclass__cls
|
|
102
|
+
or name in __dataclass___setattr_frozen_fields
|
|
103
|
+
):
|
|
104
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
105
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
106
|
+
|
|
107
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
108
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
109
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
110
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
111
|
+
|
|
112
|
+
__dataclass___delattr_frozen_fields = {
|
|
113
|
+
'__shape__',
|
|
114
|
+
'lambda_managed_instances_capacity_provider_config',
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
def __delattr__(self, name):
|
|
118
|
+
if (
|
|
119
|
+
type(self) is __dataclass__cls
|
|
120
|
+
or name in __dataclass___delattr_frozen_fields
|
|
121
|
+
):
|
|
122
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
123
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
124
|
+
|
|
125
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
126
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
127
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
128
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
129
|
+
|
|
130
|
+
def __hash__(self):
|
|
131
|
+
return hash((
|
|
132
|
+
self.lambda_managed_instances_capacity_provider_config,
|
|
133
|
+
))
|
|
134
|
+
|
|
135
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
136
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
137
|
+
|
|
138
|
+
def __init__(
|
|
139
|
+
self,
|
|
140
|
+
*,
|
|
141
|
+
lambda_managed_instances_capacity_provider_config: __dataclass__init__fields__1__annotation,
|
|
142
|
+
) -> __dataclass__None:
|
|
143
|
+
__dataclass__object_setattr(self, 'lambda_managed_instances_capacity_provider_config', lambda_managed_instances_capacity_provider_config)
|
|
144
|
+
|
|
145
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
146
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
147
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
148
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
149
|
+
|
|
150
|
+
@__dataclass___recursive_repr()
|
|
151
|
+
def __repr__(self):
|
|
152
|
+
parts = []
|
|
153
|
+
parts.append(f"lambda_managed_instances_capacity_provider_config={self.lambda_managed_instances_capacity_provider_config!r}")
|
|
154
|
+
return (
|
|
155
|
+
f"{self.__class__.__qualname__}("
|
|
156
|
+
f"{', '.join(parts)}"
|
|
157
|
+
f")"
|
|
158
|
+
)
|
|
159
|
+
|
|
160
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
161
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
162
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
163
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
164
|
+
|
|
165
|
+
return _process_dataclass
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
@_register(
|
|
169
|
+
plan_repr=(
|
|
170
|
+
"Plans(tup=(CopyPlan(fields=('target_arn',)), EqPlan(fields=('target_arn',)), FrozenPlan(fields=('__shape__', '"
|
|
171
|
+
"target_arn'), allow_dynamic_dunder_attrs=False), HashPlan(action='add', fields=('target_arn',), cache=False), "
|
|
172
|
+
"InitPlan(fields=(InitPlan.Field(name='__shape__', annotation=OpRef(name='init.fields.0.annotation'), default=N"
|
|
173
|
+
"one, default_factory=None, init=True, override=False, field_type=FieldType.CLASS_VAR, coerce=None, validate=No"
|
|
174
|
+
"ne, check_type=None), InitPlan.Field(name='target_arn', annotation=OpRef(name='init.fields.1.annotation'), def"
|
|
175
|
+
"ault=OpRef(name='init.fields.1.default'), default_factory=None, init=True, override=False, field_type=FieldTyp"
|
|
176
|
+
"e.INSTANCE, coerce=None, validate=None, check_type=None)), self_param='self', std_params=(), kw_only_params=('"
|
|
177
|
+
"target_arn',), frozen=True, slots=False, post_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fields"
|
|
178
|
+
"=(ReprPlan.Field(name='target_arn', kw_only=True, fn=None),), id=False, terse=False, default_fn=None)))"
|
|
179
|
+
),
|
|
180
|
+
plan_repr_sha1='a668802e6cc60181d0d91b2bd31db6e6a3724a65',
|
|
181
|
+
op_ref_idents=(
|
|
182
|
+
'__dataclass__init__fields__1__annotation',
|
|
183
|
+
'__dataclass__init__fields__1__default',
|
|
184
|
+
),
|
|
185
|
+
cls_names=(
|
|
186
|
+
('ominfra.clouds.aws.models.services.lambda_', 'DeadLetterConfig'),
|
|
187
|
+
),
|
|
188
|
+
)
|
|
189
|
+
def _process_dataclass__a668802e6cc60181d0d91b2bd31db6e6a3724a65():
|
|
190
|
+
def _process_dataclass(
|
|
191
|
+
*,
|
|
192
|
+
__dataclass__cls,
|
|
193
|
+
__dataclass__init__fields__1__annotation,
|
|
194
|
+
__dataclass__init__fields__1__default,
|
|
195
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
196
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
197
|
+
__dataclass__FnValidationError, # noqa
|
|
198
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
199
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
200
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
201
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
202
|
+
__dataclass__None=None, # noqa
|
|
203
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
204
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
205
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
206
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
207
|
+
__dataclass__property=property, # noqa
|
|
208
|
+
):
|
|
209
|
+
def __copy__(self):
|
|
210
|
+
if self.__class__ is not __dataclass__cls:
|
|
211
|
+
raise TypeError(self)
|
|
212
|
+
return __dataclass__cls( # noqa
|
|
213
|
+
target_arn=self.target_arn,
|
|
214
|
+
)
|
|
215
|
+
|
|
216
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
217
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
218
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
219
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
220
|
+
|
|
221
|
+
def __eq__(self, other):
|
|
222
|
+
if self is other:
|
|
223
|
+
return True
|
|
224
|
+
if self.__class__ is not other.__class__:
|
|
225
|
+
return NotImplemented
|
|
226
|
+
return (
|
|
227
|
+
self.target_arn == other.target_arn
|
|
228
|
+
)
|
|
229
|
+
|
|
230
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
231
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
232
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
233
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
234
|
+
|
|
235
|
+
__dataclass___setattr_frozen_fields = {
|
|
236
|
+
'__shape__',
|
|
237
|
+
'target_arn',
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
def __setattr__(self, name, value):
|
|
241
|
+
if (
|
|
242
|
+
type(self) is __dataclass__cls
|
|
243
|
+
or name in __dataclass___setattr_frozen_fields
|
|
244
|
+
):
|
|
245
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
246
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
247
|
+
|
|
248
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
249
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
250
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
251
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
252
|
+
|
|
253
|
+
__dataclass___delattr_frozen_fields = {
|
|
254
|
+
'__shape__',
|
|
255
|
+
'target_arn',
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
def __delattr__(self, name):
|
|
259
|
+
if (
|
|
260
|
+
type(self) is __dataclass__cls
|
|
261
|
+
or name in __dataclass___delattr_frozen_fields
|
|
262
|
+
):
|
|
263
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
264
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
265
|
+
|
|
266
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
267
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
268
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
269
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
270
|
+
|
|
271
|
+
def __hash__(self):
|
|
272
|
+
return hash((
|
|
273
|
+
self.target_arn,
|
|
274
|
+
))
|
|
275
|
+
|
|
276
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
277
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
278
|
+
|
|
279
|
+
def __init__(
|
|
280
|
+
self,
|
|
281
|
+
*,
|
|
282
|
+
target_arn: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
283
|
+
) -> __dataclass__None:
|
|
284
|
+
__dataclass__object_setattr(self, 'target_arn', target_arn)
|
|
285
|
+
|
|
286
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
287
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
288
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
289
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
290
|
+
|
|
291
|
+
@__dataclass___recursive_repr()
|
|
292
|
+
def __repr__(self):
|
|
293
|
+
parts = []
|
|
294
|
+
parts.append(f"target_arn={self.target_arn!r}")
|
|
295
|
+
return (
|
|
296
|
+
f"{self.__class__.__qualname__}("
|
|
297
|
+
f"{', '.join(parts)}"
|
|
298
|
+
f")"
|
|
299
|
+
)
|
|
300
|
+
|
|
301
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
302
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
303
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
304
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
305
|
+
|
|
306
|
+
return _process_dataclass
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
@_register(
|
|
310
|
+
plan_repr=(
|
|
311
|
+
"Plans(tup=(CopyPlan(fields=('retention_period_in_days', 'execution_timeout')), EqPlan(fields=('retention_perio"
|
|
312
|
+
"d_in_days', 'execution_timeout')), FrozenPlan(fields=('__shape__', 'retention_period_in_days', 'execution_time"
|
|
313
|
+
"out'), allow_dynamic_dunder_attrs=False), HashPlan(action='add', fields=('retention_period_in_days', 'executio"
|
|
314
|
+
"n_timeout'), cache=False), InitPlan(fields=(InitPlan.Field(name='__shape__', annotation=OpRef(name='init.field"
|
|
315
|
+
"s.0.annotation'), default=None, default_factory=None, init=True, override=False, field_type=FieldType.CLASS_VA"
|
|
316
|
+
"R, coerce=None, validate=None, check_type=None), InitPlan.Field(name='retention_period_in_days', annotation=Op"
|
|
317
|
+
"Ref(name='init.fields.1.annotation'), default=OpRef(name='init.fields.1.default'), default_factory=None, init="
|
|
318
|
+
"True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Fi"
|
|
319
|
+
"eld(name='execution_timeout', annotation=OpRef(name='init.fields.2.annotation'), default=OpRef(name='init.fiel"
|
|
320
|
+
"ds.2.default'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, v"
|
|
321
|
+
"alidate=None, check_type=None)), self_param='self', std_params=(), kw_only_params=('retention_period_in_days',"
|
|
322
|
+
" 'execution_timeout'), frozen=True, slots=False, post_init_params=None, init_fns=(), validate_fns=()), ReprPla"
|
|
323
|
+
"n(fields=(ReprPlan.Field(name='retention_period_in_days', kw_only=True, fn=None), ReprPlan.Field(name='executi"
|
|
324
|
+
"on_timeout', kw_only=True, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
325
|
+
),
|
|
326
|
+
plan_repr_sha1='017f0ccfabf58bb95e85ed87d1549bbb2e98094f',
|
|
327
|
+
op_ref_idents=(
|
|
328
|
+
'__dataclass__init__fields__1__annotation',
|
|
329
|
+
'__dataclass__init__fields__1__default',
|
|
330
|
+
'__dataclass__init__fields__2__annotation',
|
|
331
|
+
'__dataclass__init__fields__2__default',
|
|
332
|
+
),
|
|
333
|
+
cls_names=(
|
|
334
|
+
('ominfra.clouds.aws.models.services.lambda_', 'DurableConfig'),
|
|
335
|
+
),
|
|
336
|
+
)
|
|
337
|
+
def _process_dataclass__017f0ccfabf58bb95e85ed87d1549bbb2e98094f():
|
|
338
|
+
def _process_dataclass(
|
|
339
|
+
*,
|
|
340
|
+
__dataclass__cls,
|
|
341
|
+
__dataclass__init__fields__1__annotation,
|
|
342
|
+
__dataclass__init__fields__1__default,
|
|
343
|
+
__dataclass__init__fields__2__annotation,
|
|
344
|
+
__dataclass__init__fields__2__default,
|
|
345
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
346
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
347
|
+
__dataclass__FnValidationError, # noqa
|
|
348
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
349
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
350
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
351
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
352
|
+
__dataclass__None=None, # noqa
|
|
353
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
354
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
355
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
356
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
357
|
+
__dataclass__property=property, # noqa
|
|
358
|
+
):
|
|
359
|
+
def __copy__(self):
|
|
360
|
+
if self.__class__ is not __dataclass__cls:
|
|
361
|
+
raise TypeError(self)
|
|
362
|
+
return __dataclass__cls( # noqa
|
|
363
|
+
retention_period_in_days=self.retention_period_in_days,
|
|
364
|
+
execution_timeout=self.execution_timeout,
|
|
365
|
+
)
|
|
366
|
+
|
|
367
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
368
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
369
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
370
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
371
|
+
|
|
372
|
+
def __eq__(self, other):
|
|
373
|
+
if self is other:
|
|
374
|
+
return True
|
|
375
|
+
if self.__class__ is not other.__class__:
|
|
376
|
+
return NotImplemented
|
|
377
|
+
return (
|
|
378
|
+
self.retention_period_in_days == other.retention_period_in_days and
|
|
379
|
+
self.execution_timeout == other.execution_timeout
|
|
380
|
+
)
|
|
381
|
+
|
|
382
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
383
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
384
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
385
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
386
|
+
|
|
387
|
+
__dataclass___setattr_frozen_fields = {
|
|
388
|
+
'__shape__',
|
|
389
|
+
'retention_period_in_days',
|
|
390
|
+
'execution_timeout',
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
def __setattr__(self, name, value):
|
|
394
|
+
if (
|
|
395
|
+
type(self) is __dataclass__cls
|
|
396
|
+
or name in __dataclass___setattr_frozen_fields
|
|
397
|
+
):
|
|
398
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
399
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
400
|
+
|
|
401
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
402
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
403
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
404
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
405
|
+
|
|
406
|
+
__dataclass___delattr_frozen_fields = {
|
|
407
|
+
'__shape__',
|
|
408
|
+
'retention_period_in_days',
|
|
409
|
+
'execution_timeout',
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
def __delattr__(self, name):
|
|
413
|
+
if (
|
|
414
|
+
type(self) is __dataclass__cls
|
|
415
|
+
or name in __dataclass___delattr_frozen_fields
|
|
416
|
+
):
|
|
417
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
418
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
419
|
+
|
|
420
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
421
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
422
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
423
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
424
|
+
|
|
425
|
+
def __hash__(self):
|
|
426
|
+
return hash((
|
|
427
|
+
self.retention_period_in_days,
|
|
428
|
+
self.execution_timeout,
|
|
429
|
+
))
|
|
430
|
+
|
|
431
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
432
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
433
|
+
|
|
434
|
+
def __init__(
|
|
435
|
+
self,
|
|
436
|
+
*,
|
|
437
|
+
retention_period_in_days: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
438
|
+
execution_timeout: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
439
|
+
) -> __dataclass__None:
|
|
440
|
+
__dataclass__object_setattr(self, 'retention_period_in_days', retention_period_in_days)
|
|
441
|
+
__dataclass__object_setattr(self, 'execution_timeout', execution_timeout)
|
|
442
|
+
|
|
443
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
444
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
445
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
446
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
447
|
+
|
|
448
|
+
@__dataclass___recursive_repr()
|
|
449
|
+
def __repr__(self):
|
|
450
|
+
parts = []
|
|
451
|
+
parts.append(f"retention_period_in_days={self.retention_period_in_days!r}")
|
|
452
|
+
parts.append(f"execution_timeout={self.execution_timeout!r}")
|
|
453
|
+
return (
|
|
454
|
+
f"{self.__class__.__qualname__}("
|
|
455
|
+
f"{', '.join(parts)}"
|
|
456
|
+
f")"
|
|
457
|
+
)
|
|
458
|
+
|
|
459
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
460
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
461
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
462
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
463
|
+
|
|
464
|
+
return _process_dataclass
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
@_register(
|
|
468
|
+
plan_repr=(
|
|
469
|
+
"Plans(tup=(CopyPlan(fields=('error_code', 'message')), EqPlan(fields=('error_code', 'message')), FrozenPlan(fi"
|
|
470
|
+
"elds=('__shape__', 'error_code', 'message'), allow_dynamic_dunder_attrs=False), HashPlan(action='add', fields="
|
|
471
|
+
"('error_code', 'message'), cache=False), InitPlan(fields=(InitPlan.Field(name='__shape__', annotation=OpRef(na"
|
|
472
|
+
"me='init.fields.0.annotation'), default=None, default_factory=None, init=True, override=False, field_type=Fiel"
|
|
473
|
+
"dType.CLASS_VAR, coerce=None, validate=None, check_type=None), InitPlan.Field(name='error_code', annotation=Op"
|
|
474
|
+
"Ref(name='init.fields.1.annotation'), default=OpRef(name='init.fields.1.default'), default_factory=None, init="
|
|
475
|
+
"True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Fi"
|
|
476
|
+
"eld(name='message', annotation=OpRef(name='init.fields.2.annotation'), default=OpRef(name='init.fields.2.defau"
|
|
477
|
+
"lt'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=No"
|
|
478
|
+
"ne, check_type=None)), self_param='self', std_params=(), kw_only_params=('error_code', 'message'), frozen=True"
|
|
479
|
+
", slots=False, post_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='err"
|
|
480
|
+
"or_code', kw_only=True, fn=None), ReprPlan.Field(name='message', kw_only=True, fn=None)), id=False, terse=Fals"
|
|
481
|
+
"e, default_fn=None)))"
|
|
482
|
+
),
|
|
483
|
+
plan_repr_sha1='1d985e02ba3b7e1901dfcdb20eb2f1da1c066cf3',
|
|
484
|
+
op_ref_idents=(
|
|
485
|
+
'__dataclass__init__fields__1__annotation',
|
|
486
|
+
'__dataclass__init__fields__1__default',
|
|
487
|
+
'__dataclass__init__fields__2__annotation',
|
|
488
|
+
'__dataclass__init__fields__2__default',
|
|
489
|
+
),
|
|
490
|
+
cls_names=(
|
|
491
|
+
('ominfra.clouds.aws.models.services.lambda_', 'EnvironmentError_'),
|
|
492
|
+
('ominfra.clouds.aws.models.services.lambda_', 'ImageConfigError'),
|
|
493
|
+
('ominfra.clouds.aws.models.services.lambda_', 'RuntimeVersionError'),
|
|
494
|
+
),
|
|
495
|
+
)
|
|
496
|
+
def _process_dataclass__1d985e02ba3b7e1901dfcdb20eb2f1da1c066cf3():
|
|
497
|
+
def _process_dataclass(
|
|
498
|
+
*,
|
|
499
|
+
__dataclass__cls,
|
|
500
|
+
__dataclass__init__fields__1__annotation,
|
|
501
|
+
__dataclass__init__fields__1__default,
|
|
502
|
+
__dataclass__init__fields__2__annotation,
|
|
503
|
+
__dataclass__init__fields__2__default,
|
|
504
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
505
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
506
|
+
__dataclass__FnValidationError, # noqa
|
|
507
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
508
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
509
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
510
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
511
|
+
__dataclass__None=None, # noqa
|
|
512
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
513
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
514
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
515
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
516
|
+
__dataclass__property=property, # noqa
|
|
517
|
+
):
|
|
518
|
+
def __copy__(self):
|
|
519
|
+
if self.__class__ is not __dataclass__cls:
|
|
520
|
+
raise TypeError(self)
|
|
521
|
+
return __dataclass__cls( # noqa
|
|
522
|
+
error_code=self.error_code,
|
|
523
|
+
message=self.message,
|
|
524
|
+
)
|
|
525
|
+
|
|
526
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
527
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
528
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
529
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
530
|
+
|
|
531
|
+
def __eq__(self, other):
|
|
532
|
+
if self is other:
|
|
533
|
+
return True
|
|
534
|
+
if self.__class__ is not other.__class__:
|
|
535
|
+
return NotImplemented
|
|
536
|
+
return (
|
|
537
|
+
self.error_code == other.error_code and
|
|
538
|
+
self.message == other.message
|
|
539
|
+
)
|
|
540
|
+
|
|
541
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
542
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
543
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
544
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
545
|
+
|
|
546
|
+
__dataclass___setattr_frozen_fields = {
|
|
547
|
+
'__shape__',
|
|
548
|
+
'error_code',
|
|
549
|
+
'message',
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
def __setattr__(self, name, value):
|
|
553
|
+
if (
|
|
554
|
+
type(self) is __dataclass__cls
|
|
555
|
+
or name in __dataclass___setattr_frozen_fields
|
|
556
|
+
):
|
|
557
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
558
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
559
|
+
|
|
560
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
561
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
562
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
563
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
564
|
+
|
|
565
|
+
__dataclass___delattr_frozen_fields = {
|
|
566
|
+
'__shape__',
|
|
567
|
+
'error_code',
|
|
568
|
+
'message',
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
def __delattr__(self, name):
|
|
572
|
+
if (
|
|
573
|
+
type(self) is __dataclass__cls
|
|
574
|
+
or name in __dataclass___delattr_frozen_fields
|
|
575
|
+
):
|
|
576
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
577
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
578
|
+
|
|
579
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
580
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
581
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
582
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
583
|
+
|
|
584
|
+
def __hash__(self):
|
|
585
|
+
return hash((
|
|
586
|
+
self.error_code,
|
|
587
|
+
self.message,
|
|
588
|
+
))
|
|
589
|
+
|
|
590
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
591
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
592
|
+
|
|
593
|
+
def __init__(
|
|
594
|
+
self,
|
|
595
|
+
*,
|
|
596
|
+
error_code: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
597
|
+
message: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
598
|
+
) -> __dataclass__None:
|
|
599
|
+
__dataclass__object_setattr(self, 'error_code', error_code)
|
|
600
|
+
__dataclass__object_setattr(self, 'message', message)
|
|
601
|
+
|
|
602
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
603
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
604
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
605
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
606
|
+
|
|
607
|
+
@__dataclass___recursive_repr()
|
|
608
|
+
def __repr__(self):
|
|
609
|
+
parts = []
|
|
610
|
+
parts.append(f"error_code={self.error_code!r}")
|
|
611
|
+
parts.append(f"message={self.message!r}")
|
|
612
|
+
return (
|
|
613
|
+
f"{self.__class__.__qualname__}("
|
|
614
|
+
f"{', '.join(parts)}"
|
|
615
|
+
f")"
|
|
616
|
+
)
|
|
617
|
+
|
|
618
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
619
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
620
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
621
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
622
|
+
|
|
623
|
+
return _process_dataclass
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
@_register(
|
|
627
|
+
plan_repr=(
|
|
628
|
+
"Plans(tup=(CopyPlan(fields=('variables', 'error')), EqPlan(fields=('variables', 'error')), FrozenPlan(fields=("
|
|
629
|
+
"'__shape__', 'variables', 'error'), allow_dynamic_dunder_attrs=False), HashPlan(action='add', fields=('variabl"
|
|
630
|
+
"es', 'error'), cache=False), InitPlan(fields=(InitPlan.Field(name='__shape__', annotation=OpRef(name='init.fie"
|
|
631
|
+
"lds.0.annotation'), default=None, default_factory=None, init=True, override=False, field_type=FieldType.CLASS_"
|
|
632
|
+
"VAR, coerce=None, validate=None, check_type=None), InitPlan.Field(name='variables', annotation=OpRef(name='ini"
|
|
633
|
+
"t.fields.1.annotation'), default=OpRef(name='init.fields.1.default'), default_factory=None, init=True, overrid"
|
|
634
|
+
"e=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='err"
|
|
635
|
+
"or', annotation=OpRef(name='init.fields.2.annotation'), default=OpRef(name='init.fields.2.default'), default_f"
|
|
636
|
+
"actory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type="
|
|
637
|
+
"None)), self_param='self', std_params=(), kw_only_params=('variables', 'error'), frozen=True, slots=False, pos"
|
|
638
|
+
"t_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='variables', kw_only=T"
|
|
639
|
+
"rue, fn=None), ReprPlan.Field(name='error', kw_only=True, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
640
|
+
),
|
|
641
|
+
plan_repr_sha1='317c843e53bb9dfbb0f4e22012dab481c78eee00',
|
|
642
|
+
op_ref_idents=(
|
|
643
|
+
'__dataclass__init__fields__1__annotation',
|
|
644
|
+
'__dataclass__init__fields__1__default',
|
|
645
|
+
'__dataclass__init__fields__2__annotation',
|
|
646
|
+
'__dataclass__init__fields__2__default',
|
|
647
|
+
),
|
|
648
|
+
cls_names=(
|
|
649
|
+
('ominfra.clouds.aws.models.services.lambda_', 'EnvironmentResponse'),
|
|
650
|
+
),
|
|
651
|
+
)
|
|
652
|
+
def _process_dataclass__317c843e53bb9dfbb0f4e22012dab481c78eee00():
|
|
653
|
+
def _process_dataclass(
|
|
654
|
+
*,
|
|
655
|
+
__dataclass__cls,
|
|
656
|
+
__dataclass__init__fields__1__annotation,
|
|
657
|
+
__dataclass__init__fields__1__default,
|
|
658
|
+
__dataclass__init__fields__2__annotation,
|
|
659
|
+
__dataclass__init__fields__2__default,
|
|
660
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
661
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
662
|
+
__dataclass__FnValidationError, # noqa
|
|
663
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
664
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
665
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
666
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
667
|
+
__dataclass__None=None, # noqa
|
|
668
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
669
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
670
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
671
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
672
|
+
__dataclass__property=property, # noqa
|
|
673
|
+
):
|
|
674
|
+
def __copy__(self):
|
|
675
|
+
if self.__class__ is not __dataclass__cls:
|
|
676
|
+
raise TypeError(self)
|
|
677
|
+
return __dataclass__cls( # noqa
|
|
678
|
+
variables=self.variables,
|
|
679
|
+
error=self.error,
|
|
680
|
+
)
|
|
681
|
+
|
|
682
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
683
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
684
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
685
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
686
|
+
|
|
687
|
+
def __eq__(self, other):
|
|
688
|
+
if self is other:
|
|
689
|
+
return True
|
|
690
|
+
if self.__class__ is not other.__class__:
|
|
691
|
+
return NotImplemented
|
|
692
|
+
return (
|
|
693
|
+
self.variables == other.variables and
|
|
694
|
+
self.error == other.error
|
|
695
|
+
)
|
|
696
|
+
|
|
697
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
698
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
699
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
700
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
701
|
+
|
|
702
|
+
__dataclass___setattr_frozen_fields = {
|
|
703
|
+
'__shape__',
|
|
704
|
+
'variables',
|
|
705
|
+
'error',
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
def __setattr__(self, name, value):
|
|
709
|
+
if (
|
|
710
|
+
type(self) is __dataclass__cls
|
|
711
|
+
or name in __dataclass___setattr_frozen_fields
|
|
712
|
+
):
|
|
713
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
714
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
715
|
+
|
|
716
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
717
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
718
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
719
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
720
|
+
|
|
721
|
+
__dataclass___delattr_frozen_fields = {
|
|
722
|
+
'__shape__',
|
|
723
|
+
'variables',
|
|
724
|
+
'error',
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
def __delattr__(self, name):
|
|
728
|
+
if (
|
|
729
|
+
type(self) is __dataclass__cls
|
|
730
|
+
or name in __dataclass___delattr_frozen_fields
|
|
731
|
+
):
|
|
732
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
733
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
734
|
+
|
|
735
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
736
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
737
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
738
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
739
|
+
|
|
740
|
+
def __hash__(self):
|
|
741
|
+
return hash((
|
|
742
|
+
self.variables,
|
|
743
|
+
self.error,
|
|
744
|
+
))
|
|
745
|
+
|
|
746
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
747
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
748
|
+
|
|
749
|
+
def __init__(
|
|
750
|
+
self,
|
|
751
|
+
*,
|
|
752
|
+
variables: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
753
|
+
error: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
754
|
+
) -> __dataclass__None:
|
|
755
|
+
__dataclass__object_setattr(self, 'variables', variables)
|
|
756
|
+
__dataclass__object_setattr(self, 'error', error)
|
|
757
|
+
|
|
758
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
759
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
760
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
761
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
762
|
+
|
|
763
|
+
@__dataclass___recursive_repr()
|
|
764
|
+
def __repr__(self):
|
|
765
|
+
parts = []
|
|
766
|
+
parts.append(f"variables={self.variables!r}")
|
|
767
|
+
parts.append(f"error={self.error!r}")
|
|
768
|
+
return (
|
|
769
|
+
f"{self.__class__.__qualname__}("
|
|
770
|
+
f"{', '.join(parts)}"
|
|
771
|
+
f")"
|
|
772
|
+
)
|
|
773
|
+
|
|
774
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
775
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
776
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
777
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
778
|
+
|
|
779
|
+
return _process_dataclass
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
@_register(
|
|
783
|
+
plan_repr=(
|
|
784
|
+
"Plans(tup=(CopyPlan(fields=('size',)), EqPlan(fields=('size',)), FrozenPlan(fields=('__shape__', 'size'), allo"
|
|
785
|
+
"w_dynamic_dunder_attrs=False), HashPlan(action='add', fields=('size',), cache=False), InitPlan(fields=(InitPla"
|
|
786
|
+
"n.Field(name='__shape__', annotation=OpRef(name='init.fields.0.annotation'), default=None, default_factory=Non"
|
|
787
|
+
"e, init=True, override=False, field_type=FieldType.CLASS_VAR, coerce=None, validate=None, check_type=None), In"
|
|
788
|
+
"itPlan.Field(name='size', annotation=OpRef(name='init.fields.1.annotation'), default=None, default_factory=Non"
|
|
789
|
+
"e, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)), se"
|
|
790
|
+
"lf_param='self', std_params=(), kw_only_params=('size',), frozen=True, slots=False, post_init_params=None, ini"
|
|
791
|
+
"t_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='size', kw_only=True, fn=None),), id=False, t"
|
|
792
|
+
"erse=False, default_fn=None)))"
|
|
793
|
+
),
|
|
794
|
+
plan_repr_sha1='ba17cf6d4b72f343a67190bab2265616e5cbaebc',
|
|
795
|
+
op_ref_idents=(
|
|
796
|
+
'__dataclass__init__fields__1__annotation',
|
|
797
|
+
),
|
|
798
|
+
cls_names=(
|
|
799
|
+
('ominfra.clouds.aws.models.services.lambda_', 'EphemeralStorage'),
|
|
800
|
+
),
|
|
801
|
+
)
|
|
802
|
+
def _process_dataclass__ba17cf6d4b72f343a67190bab2265616e5cbaebc():
|
|
803
|
+
def _process_dataclass(
|
|
804
|
+
*,
|
|
805
|
+
__dataclass__cls,
|
|
806
|
+
__dataclass__init__fields__1__annotation,
|
|
807
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
808
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
809
|
+
__dataclass__FnValidationError, # noqa
|
|
810
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
811
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
812
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
813
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
814
|
+
__dataclass__None=None, # noqa
|
|
815
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
816
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
817
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
818
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
819
|
+
__dataclass__property=property, # noqa
|
|
820
|
+
):
|
|
821
|
+
def __copy__(self):
|
|
822
|
+
if self.__class__ is not __dataclass__cls:
|
|
823
|
+
raise TypeError(self)
|
|
824
|
+
return __dataclass__cls( # noqa
|
|
825
|
+
size=self.size,
|
|
826
|
+
)
|
|
827
|
+
|
|
828
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
829
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
830
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
831
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
832
|
+
|
|
833
|
+
def __eq__(self, other):
|
|
834
|
+
if self is other:
|
|
835
|
+
return True
|
|
836
|
+
if self.__class__ is not other.__class__:
|
|
837
|
+
return NotImplemented
|
|
838
|
+
return (
|
|
839
|
+
self.size == other.size
|
|
840
|
+
)
|
|
841
|
+
|
|
842
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
843
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
844
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
845
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
846
|
+
|
|
847
|
+
__dataclass___setattr_frozen_fields = {
|
|
848
|
+
'__shape__',
|
|
849
|
+
'size',
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
def __setattr__(self, name, value):
|
|
853
|
+
if (
|
|
854
|
+
type(self) is __dataclass__cls
|
|
855
|
+
or name in __dataclass___setattr_frozen_fields
|
|
856
|
+
):
|
|
857
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
858
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
859
|
+
|
|
860
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
861
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
862
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
863
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
864
|
+
|
|
865
|
+
__dataclass___delattr_frozen_fields = {
|
|
866
|
+
'__shape__',
|
|
867
|
+
'size',
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
def __delattr__(self, name):
|
|
871
|
+
if (
|
|
872
|
+
type(self) is __dataclass__cls
|
|
873
|
+
or name in __dataclass___delattr_frozen_fields
|
|
874
|
+
):
|
|
875
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
876
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
877
|
+
|
|
878
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
879
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
880
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
881
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
882
|
+
|
|
883
|
+
def __hash__(self):
|
|
884
|
+
return hash((
|
|
885
|
+
self.size,
|
|
886
|
+
))
|
|
887
|
+
|
|
888
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
889
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
890
|
+
|
|
891
|
+
def __init__(
|
|
892
|
+
self,
|
|
893
|
+
*,
|
|
894
|
+
size: __dataclass__init__fields__1__annotation,
|
|
895
|
+
) -> __dataclass__None:
|
|
896
|
+
__dataclass__object_setattr(self, 'size', size)
|
|
897
|
+
|
|
898
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
899
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
900
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
901
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
902
|
+
|
|
903
|
+
@__dataclass___recursive_repr()
|
|
904
|
+
def __repr__(self):
|
|
905
|
+
parts = []
|
|
906
|
+
parts.append(f"size={self.size!r}")
|
|
907
|
+
return (
|
|
908
|
+
f"{self.__class__.__qualname__}("
|
|
909
|
+
f"{', '.join(parts)}"
|
|
910
|
+
f")"
|
|
911
|
+
)
|
|
912
|
+
|
|
913
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
914
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
915
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
916
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
917
|
+
|
|
918
|
+
return _process_dataclass
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
@_register(
|
|
922
|
+
plan_repr=(
|
|
923
|
+
"Plans(tup=(CopyPlan(fields=('arn', 'local_mount_path')), EqPlan(fields=('arn', 'local_mount_path')), FrozenPla"
|
|
924
|
+
"n(fields=('__shape__', 'arn', 'local_mount_path'), allow_dynamic_dunder_attrs=False), HashPlan(action='add', f"
|
|
925
|
+
"ields=('arn', 'local_mount_path'), cache=False), InitPlan(fields=(InitPlan.Field(name='__shape__', annotation="
|
|
926
|
+
"OpRef(name='init.fields.0.annotation'), default=None, default_factory=None, init=True, override=False, field_t"
|
|
927
|
+
"ype=FieldType.CLASS_VAR, coerce=None, validate=None, check_type=None), InitPlan.Field(name='arn', annotation=O"
|
|
928
|
+
"pRef(name='init.fields.1.annotation'), default=None, default_factory=None, init=True, override=False, field_ty"
|
|
929
|
+
"pe=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='local_mount_path', a"
|
|
930
|
+
"nnotation=OpRef(name='init.fields.2.annotation'), default=None, default_factory=None, init=True, override=Fals"
|
|
931
|
+
"e, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)), self_param='self', std_params"
|
|
932
|
+
"=(), kw_only_params=('arn', 'local_mount_path'), frozen=True, slots=False, post_init_params=None, init_fns=(),"
|
|
933
|
+
" validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='arn', kw_only=True, fn=None), ReprPlan.Field(name='lo"
|
|
934
|
+
"cal_mount_path', kw_only=True, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
935
|
+
),
|
|
936
|
+
plan_repr_sha1='782e9b5d3cf1915925c20121ed1c830c7d6ccaf2',
|
|
937
|
+
op_ref_idents=(
|
|
938
|
+
'__dataclass__init__fields__1__annotation',
|
|
939
|
+
'__dataclass__init__fields__2__annotation',
|
|
940
|
+
),
|
|
941
|
+
cls_names=(
|
|
942
|
+
('ominfra.clouds.aws.models.services.lambda_', 'FileSystemConfig'),
|
|
943
|
+
),
|
|
944
|
+
)
|
|
945
|
+
def _process_dataclass__782e9b5d3cf1915925c20121ed1c830c7d6ccaf2():
|
|
946
|
+
def _process_dataclass(
|
|
947
|
+
*,
|
|
948
|
+
__dataclass__cls,
|
|
949
|
+
__dataclass__init__fields__1__annotation,
|
|
950
|
+
__dataclass__init__fields__2__annotation,
|
|
951
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
952
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
953
|
+
__dataclass__FnValidationError, # noqa
|
|
954
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
955
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
956
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
957
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
958
|
+
__dataclass__None=None, # noqa
|
|
959
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
960
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
961
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
962
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
963
|
+
__dataclass__property=property, # noqa
|
|
964
|
+
):
|
|
965
|
+
def __copy__(self):
|
|
966
|
+
if self.__class__ is not __dataclass__cls:
|
|
967
|
+
raise TypeError(self)
|
|
968
|
+
return __dataclass__cls( # noqa
|
|
969
|
+
arn=self.arn,
|
|
970
|
+
local_mount_path=self.local_mount_path,
|
|
971
|
+
)
|
|
972
|
+
|
|
973
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
974
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
975
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
976
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
977
|
+
|
|
978
|
+
def __eq__(self, other):
|
|
979
|
+
if self is other:
|
|
980
|
+
return True
|
|
981
|
+
if self.__class__ is not other.__class__:
|
|
982
|
+
return NotImplemented
|
|
983
|
+
return (
|
|
984
|
+
self.arn == other.arn and
|
|
985
|
+
self.local_mount_path == other.local_mount_path
|
|
986
|
+
)
|
|
987
|
+
|
|
988
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
989
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
990
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
991
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
992
|
+
|
|
993
|
+
__dataclass___setattr_frozen_fields = {
|
|
994
|
+
'__shape__',
|
|
995
|
+
'arn',
|
|
996
|
+
'local_mount_path',
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
def __setattr__(self, name, value):
|
|
1000
|
+
if (
|
|
1001
|
+
type(self) is __dataclass__cls
|
|
1002
|
+
or name in __dataclass___setattr_frozen_fields
|
|
1003
|
+
):
|
|
1004
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
1005
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
1006
|
+
|
|
1007
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
1008
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
1009
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
1010
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
1011
|
+
|
|
1012
|
+
__dataclass___delattr_frozen_fields = {
|
|
1013
|
+
'__shape__',
|
|
1014
|
+
'arn',
|
|
1015
|
+
'local_mount_path',
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
def __delattr__(self, name):
|
|
1019
|
+
if (
|
|
1020
|
+
type(self) is __dataclass__cls
|
|
1021
|
+
or name in __dataclass___delattr_frozen_fields
|
|
1022
|
+
):
|
|
1023
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
1024
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
1025
|
+
|
|
1026
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
1027
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
1028
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
1029
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
1030
|
+
|
|
1031
|
+
def __hash__(self):
|
|
1032
|
+
return hash((
|
|
1033
|
+
self.arn,
|
|
1034
|
+
self.local_mount_path,
|
|
1035
|
+
))
|
|
1036
|
+
|
|
1037
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
1038
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
1039
|
+
|
|
1040
|
+
def __init__(
|
|
1041
|
+
self,
|
|
1042
|
+
*,
|
|
1043
|
+
arn: __dataclass__init__fields__1__annotation,
|
|
1044
|
+
local_mount_path: __dataclass__init__fields__2__annotation,
|
|
1045
|
+
) -> __dataclass__None:
|
|
1046
|
+
__dataclass__object_setattr(self, 'arn', arn)
|
|
1047
|
+
__dataclass__object_setattr(self, 'local_mount_path', local_mount_path)
|
|
1048
|
+
|
|
1049
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
1050
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
1051
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
1052
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
1053
|
+
|
|
1054
|
+
@__dataclass___recursive_repr()
|
|
1055
|
+
def __repr__(self):
|
|
1056
|
+
parts = []
|
|
1057
|
+
parts.append(f"arn={self.arn!r}")
|
|
1058
|
+
parts.append(f"local_mount_path={self.local_mount_path!r}")
|
|
1059
|
+
return (
|
|
1060
|
+
f"{self.__class__.__qualname__}("
|
|
1061
|
+
f"{', '.join(parts)}"
|
|
1062
|
+
f")"
|
|
1063
|
+
)
|
|
1064
|
+
|
|
1065
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
1066
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
1067
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
1068
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
1069
|
+
|
|
1070
|
+
return _process_dataclass
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
@_register(
|
|
1074
|
+
plan_repr=(
|
|
1075
|
+
"Plans(tup=(CopyPlan(fields=('function_name', 'function_arn', 'runtime', 'role', 'handler', 'code_size', 'descr"
|
|
1076
|
+
"iption', 'timeout', 'memory_size', 'last_modified', 'code_sha256', 'version', 'vpc_config', 'dead_letter_confi"
|
|
1077
|
+
"g', 'environment', 'kms_key_arn', 'tracing_config', 'master_arn', 'revision_id', 'layers', 'state', 'state_rea"
|
|
1078
|
+
"son', 'state_reason_code', 'last_update_status', 'last_update_status_reason', 'last_update_status_reason_code'"
|
|
1079
|
+
", 'file_system_configs', 'package_type', 'image_config_response', 'signing_profile_version_arn', 'signing_job_"
|
|
1080
|
+
"arn', 'architectures', 'ephemeral_storage', 'snap_start', 'runtime_version_config', 'logging_config', 'capacit"
|
|
1081
|
+
"y_provider_config', 'config_sha256', 'durable_config', 'tenancy_config')), EqPlan(fields=('function_name', 'fu"
|
|
1082
|
+
"nction_arn', 'runtime', 'role', 'handler', 'code_size', 'description', 'timeout', 'memory_size', 'last_modifie"
|
|
1083
|
+
"d', 'code_sha256', 'version', 'vpc_config', 'dead_letter_config', 'environment', 'kms_key_arn', 'tracing_confi"
|
|
1084
|
+
"g', 'master_arn', 'revision_id', 'layers', 'state', 'state_reason', 'state_reason_code', 'last_update_status',"
|
|
1085
|
+
" 'last_update_status_reason', 'last_update_status_reason_code', 'file_system_configs', 'package_type', 'image_"
|
|
1086
|
+
"config_response', 'signing_profile_version_arn', 'signing_job_arn', 'architectures', 'ephemeral_storage', 'sna"
|
|
1087
|
+
"p_start', 'runtime_version_config', 'logging_config', 'capacity_provider_config', 'config_sha256', 'durable_co"
|
|
1088
|
+
"nfig', 'tenancy_config')), FrozenPlan(fields=('__shape__', 'function_name', 'function_arn', 'runtime', 'role',"
|
|
1089
|
+
" 'handler', 'code_size', 'description', 'timeout', 'memory_size', 'last_modified', 'code_sha256', 'version', '"
|
|
1090
|
+
"vpc_config', 'dead_letter_config', 'environment', 'kms_key_arn', 'tracing_config', 'master_arn', 'revision_id'"
|
|
1091
|
+
", 'layers', 'state', 'state_reason', 'state_reason_code', 'last_update_status', 'last_update_status_reason', '"
|
|
1092
|
+
"last_update_status_reason_code', 'file_system_configs', 'package_type', 'image_config_response', 'signing_prof"
|
|
1093
|
+
"ile_version_arn', 'signing_job_arn', 'architectures', 'ephemeral_storage', 'snap_start', 'runtime_version_conf"
|
|
1094
|
+
"ig', 'logging_config', 'capacity_provider_config', 'config_sha256', 'durable_config', 'tenancy_config'), allow"
|
|
1095
|
+
"_dynamic_dunder_attrs=False), HashPlan(action='add', fields=('function_name', 'function_arn', 'runtime', 'role"
|
|
1096
|
+
"', 'handler', 'code_size', 'description', 'timeout', 'memory_size', 'last_modified', 'code_sha256', 'version',"
|
|
1097
|
+
" 'vpc_config', 'dead_letter_config', 'environment', 'kms_key_arn', 'tracing_config', 'master_arn', 'revision_i"
|
|
1098
|
+
"d', 'layers', 'state', 'state_reason', 'state_reason_code', 'last_update_status', 'last_update_status_reason',"
|
|
1099
|
+
" 'last_update_status_reason_code', 'file_system_configs', 'package_type', 'image_config_response', 'signing_pr"
|
|
1100
|
+
"ofile_version_arn', 'signing_job_arn', 'architectures', 'ephemeral_storage', 'snap_start', 'runtime_version_co"
|
|
1101
|
+
"nfig', 'logging_config', 'capacity_provider_config', 'config_sha256', 'durable_config', 'tenancy_config'), cac"
|
|
1102
|
+
"he=False), InitPlan(fields=(InitPlan.Field(name='__shape__', annotation=OpRef(name='init.fields.0.annotation')"
|
|
1103
|
+
", default=None, default_factory=None, init=True, override=False, field_type=FieldType.CLASS_VAR, coerce=None, "
|
|
1104
|
+
"validate=None, check_type=None), InitPlan.Field(name='function_name', annotation=OpRef(name='init.fields.1.ann"
|
|
1105
|
+
"otation'), default=OpRef(name='init.fields.1.default'), default_factory=None, init=True, override=False, field"
|
|
1106
|
+
"_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='function_arn', an"
|
|
1107
|
+
"notation=OpRef(name='init.fields.2.annotation'), default=OpRef(name='init.fields.2.default'), default_factory="
|
|
1108
|
+
"None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), "
|
|
1109
|
+
"InitPlan.Field(name='runtime', annotation=OpRef(name='init.fields.3.annotation'), default=OpRef(name='init.fie"
|
|
1110
|
+
"lds.3.default'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, "
|
|
1111
|
+
"validate=None, check_type=None), InitPlan.Field(name='role', annotation=OpRef(name='init.fields.4.annotation')"
|
|
1112
|
+
", default=OpRef(name='init.fields.4.default'), default_factory=None, init=True, override=False, field_type=Fie"
|
|
1113
|
+
"ldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='handler', annotation=OpRef"
|
|
1114
|
+
"(name='init.fields.5.annotation'), default=OpRef(name='init.fields.5.default'), default_factory=None, init=Tru"
|
|
1115
|
+
"e, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field"
|
|
1116
|
+
"(name='code_size', annotation=OpRef(name='init.fields.6.annotation'), default=OpRef(name='init.fields.6.defaul"
|
|
1117
|
+
"t'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=Non"
|
|
1118
|
+
"e, check_type=None), InitPlan.Field(name='description', annotation=OpRef(name='init.fields.7.annotation'), def"
|
|
1119
|
+
"ault=OpRef(name='init.fields.7.default'), default_factory=None, init=True, override=False, field_type=FieldTyp"
|
|
1120
|
+
"e.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='timeout', annotation=OpRef(name"
|
|
1121
|
+
"='init.fields.8.annotation'), default=OpRef(name='init.fields.8.default'), default_factory=None, init=True, ov"
|
|
1122
|
+
"erride=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name"
|
|
1123
|
+
"='memory_size', annotation=OpRef(name='init.fields.9.annotation'), default=OpRef(name='init.fields.9.default')"
|
|
1124
|
+
", default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, "
|
|
1125
|
+
"check_type=None), InitPlan.Field(name='last_modified', annotation=OpRef(name='init.fields.10.annotation'), def"
|
|
1126
|
+
"ault=OpRef(name='init.fields.10.default'), default_factory=None, init=True, override=False, field_type=FieldTy"
|
|
1127
|
+
"pe.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='code_sha256', annotation=OpRef"
|
|
1128
|
+
"(name='init.fields.11.annotation'), default=OpRef(name='init.fields.11.default'), default_factory=None, init=T"
|
|
1129
|
+
"rue, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Fie"
|
|
1130
|
+
"ld(name='version', annotation=OpRef(name='init.fields.12.annotation'), default=OpRef(name='init.fields.12.defa"
|
|
1131
|
+
"ult'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=N"
|
|
1132
|
+
"one, check_type=None), InitPlan.Field(name='vpc_config', annotation=OpRef(name='init.fields.13.annotation'), d"
|
|
1133
|
+
"efault=OpRef(name='init.fields.13.default'), default_factory=None, init=True, override=False, field_type=Field"
|
|
1134
|
+
"Type.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='dead_letter_config', annotat"
|
|
1135
|
+
"ion=OpRef(name='init.fields.14.annotation'), default=OpRef(name='init.fields.14.default'), default_factory=Non"
|
|
1136
|
+
"e, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), Ini"
|
|
1137
|
+
"tPlan.Field(name='environment', annotation=OpRef(name='init.fields.15.annotation'), default=OpRef(name='init.f"
|
|
1138
|
+
"ields.15.default'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=Non"
|
|
1139
|
+
"e, validate=None, check_type=None), InitPlan.Field(name='kms_key_arn', annotation=OpRef(name='init.fields.16.a"
|
|
1140
|
+
"nnotation'), default=OpRef(name='init.fields.16.default'), default_factory=None, init=True, override=False, fi"
|
|
1141
|
+
"eld_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='tracing_config"
|
|
1142
|
+
"', annotation=OpRef(name='init.fields.17.annotation'), default=OpRef(name='init.fields.17.default'), default_f"
|
|
1143
|
+
"actory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type="
|
|
1144
|
+
"None), InitPlan.Field(name='master_arn', annotation=OpRef(name='init.fields.18.annotation'), default=OpRef(nam"
|
|
1145
|
+
"e='init.fields.18.default'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, c"
|
|
1146
|
+
"oerce=None, validate=None, check_type=None), InitPlan.Field(name='revision_id', annotation=OpRef(name='init.fi"
|
|
1147
|
+
"elds.19.annotation'), default=OpRef(name='init.fields.19.default'), default_factory=None, init=True, override="
|
|
1148
|
+
"False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='layer"
|
|
1149
|
+
"s', annotation=OpRef(name='init.fields.20.annotation'), default=OpRef(name='init.fields.20.default'), default_"
|
|
1150
|
+
"factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type"
|
|
1151
|
+
"=None), InitPlan.Field(name='state', annotation=OpRef(name='init.fields.21.annotation'), default=OpRef(name='i"
|
|
1152
|
+
"nit.fields.21.default'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerc"
|
|
1153
|
+
"e=None, validate=None, check_type=None), InitPlan.Field(name='state_reason', annotation=OpRef(name='init.field"
|
|
1154
|
+
"s.22.annotation'), default=OpRef(name='init.fields.22.default'), default_factory=None, init=True, override=Fal"
|
|
1155
|
+
"se, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='state_re"
|
|
1156
|
+
"ason_code', annotation=OpRef(name='init.fields.23.annotation'), default=OpRef(name='init.fields.23.default'), "
|
|
1157
|
+
"default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, ch"
|
|
1158
|
+
"eck_type=None), InitPlan.Field(name='last_update_status', annotation=OpRef(name='init.fields.24.annotation'), "
|
|
1159
|
+
"default=OpRef(name='init.fields.24.default'), default_factory=None, init=True, override=False, field_type=Fiel"
|
|
1160
|
+
"dType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='last_update_status_reason',"
|
|
1161
|
+
" annotation=OpRef(name='init.fields.25.annotation'), default=OpRef(name='init.fields.25.default'), default_fac"
|
|
1162
|
+
"tory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=No"
|
|
1163
|
+
"ne), InitPlan.Field(name='last_update_status_reason_code', annotation=OpRef(name='init.fields.26.annotation'),"
|
|
1164
|
+
" default=OpRef(name='init.fields.26.default'), default_factory=None, init=True, override=False, field_type=Fie"
|
|
1165
|
+
"ldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='file_system_configs', anno"
|
|
1166
|
+
"tation=OpRef(name='init.fields.27.annotation'), default=OpRef(name='init.fields.27.default'), default_factory="
|
|
1167
|
+
"None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), "
|
|
1168
|
+
"InitPlan.Field(name='package_type', annotation=OpRef(name='init.fields.28.annotation'), default=OpRef(name='in"
|
|
1169
|
+
"it.fields.28.default'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce"
|
|
1170
|
+
"=None, validate=None, check_type=None), InitPlan.Field(name='image_config_response', annotation=OpRef(name='in"
|
|
1171
|
+
"it.fields.29.annotation'), default=OpRef(name='init.fields.29.default'), default_factory=None, init=True, over"
|
|
1172
|
+
"ride=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='"
|
|
1173
|
+
"signing_profile_version_arn', annotation=OpRef(name='init.fields.30.annotation'), default=OpRef(name='init.fie"
|
|
1174
|
+
"lds.30.default'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None,"
|
|
1175
|
+
" validate=None, check_type=None), InitPlan.Field(name='signing_job_arn', annotation=OpRef(name='init.fields.31"
|
|
1176
|
+
".annotation'), default=OpRef(name='init.fields.31.default'), default_factory=None, init=True, override=False, "
|
|
1177
|
+
"field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='architecture"
|
|
1178
|
+
"s', annotation=OpRef(name='init.fields.32.annotation'), default=OpRef(name='init.fields.32.default'), default_"
|
|
1179
|
+
"factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type"
|
|
1180
|
+
"=None), InitPlan.Field(name='ephemeral_storage', annotation=OpRef(name='init.fields.33.annotation'), default=O"
|
|
1181
|
+
"pRef(name='init.fields.33.default'), default_factory=None, init=True, override=False, field_type=FieldType.INS"
|
|
1182
|
+
"TANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='snap_start', annotation=OpRef(name='"
|
|
1183
|
+
"init.fields.34.annotation'), default=OpRef(name='init.fields.34.default'), default_factory=None, init=True, ov"
|
|
1184
|
+
"erride=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name"
|
|
1185
|
+
"='runtime_version_config', annotation=OpRef(name='init.fields.35.annotation'), default=OpRef(name='init.fields"
|
|
1186
|
+
".35.default'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, va"
|
|
1187
|
+
"lidate=None, check_type=None), InitPlan.Field(name='logging_config', annotation=OpRef(name='init.fields.36.ann"
|
|
1188
|
+
"otation'), default=OpRef(name='init.fields.36.default'), default_factory=None, init=True, override=False, fiel"
|
|
1189
|
+
"d_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='capacity_provide"
|
|
1190
|
+
"r_config', annotation=OpRef(name='init.fields.37.annotation'), default=OpRef(name='init.fields.37.default'), d"
|
|
1191
|
+
"efault_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, che"
|
|
1192
|
+
"ck_type=None), InitPlan.Field(name='config_sha256', annotation=OpRef(name='init.fields.38.annotation'), defaul"
|
|
1193
|
+
"t=OpRef(name='init.fields.38.default'), default_factory=None, init=True, override=False, field_type=FieldType."
|
|
1194
|
+
"INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='durable_config', annotation=OpRef"
|
|
1195
|
+
"(name='init.fields.39.annotation'), default=OpRef(name='init.fields.39.default'), default_factory=None, init=T"
|
|
1196
|
+
"rue, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Fie"
|
|
1197
|
+
"ld(name='tenancy_config', annotation=OpRef(name='init.fields.40.annotation'), default=OpRef(name='init.fields."
|
|
1198
|
+
"40.default'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, val"
|
|
1199
|
+
"idate=None, check_type=None)), self_param='self', std_params=(), kw_only_params=('function_name', 'function_ar"
|
|
1200
|
+
"n', 'runtime', 'role', 'handler', 'code_size', 'description', 'timeout', 'memory_size', 'last_modified', 'code"
|
|
1201
|
+
"_sha256', 'version', 'vpc_config', 'dead_letter_config', 'environment', 'kms_key_arn', 'tracing_config', 'mast"
|
|
1202
|
+
"er_arn', 'revision_id', 'layers', 'state', 'state_reason', 'state_reason_code', 'last_update_status', 'last_up"
|
|
1203
|
+
"date_status_reason', 'last_update_status_reason_code', 'file_system_configs', 'package_type', 'image_config_re"
|
|
1204
|
+
"sponse', 'signing_profile_version_arn', 'signing_job_arn', 'architectures', 'ephemeral_storage', 'snap_start',"
|
|
1205
|
+
" 'runtime_version_config', 'logging_config', 'capacity_provider_config', 'config_sha256', 'durable_config', 't"
|
|
1206
|
+
"enancy_config'), frozen=True, slots=False, post_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fiel"
|
|
1207
|
+
"ds=(ReprPlan.Field(name='function_name', kw_only=True, fn=None), ReprPlan.Field(name='function_arn', kw_only=T"
|
|
1208
|
+
"rue, fn=None), ReprPlan.Field(name='runtime', kw_only=True, fn=None), ReprPlan.Field(name='role', kw_only=True"
|
|
1209
|
+
", fn=None), ReprPlan.Field(name='handler', kw_only=True, fn=None), ReprPlan.Field(name='code_size', kw_only=Tr"
|
|
1210
|
+
"ue, fn=None), ReprPlan.Field(name='description', kw_only=True, fn=None), ReprPlan.Field(name='timeout', kw_onl"
|
|
1211
|
+
"y=True, fn=None), ReprPlan.Field(name='memory_size', kw_only=True, fn=None), ReprPlan.Field(name='last_modifie"
|
|
1212
|
+
"d', kw_only=True, fn=None), ReprPlan.Field(name='code_sha256', kw_only=True, fn=None), ReprPlan.Field(name='ve"
|
|
1213
|
+
"rsion', kw_only=True, fn=None), ReprPlan.Field(name='vpc_config', kw_only=True, fn=None), ReprPlan.Field(name="
|
|
1214
|
+
"'dead_letter_config', kw_only=True, fn=None), ReprPlan.Field(name='environment', kw_only=True, fn=None), ReprP"
|
|
1215
|
+
"lan.Field(name='kms_key_arn', kw_only=True, fn=None), ReprPlan.Field(name='tracing_config', kw_only=True, fn=N"
|
|
1216
|
+
"one), ReprPlan.Field(name='master_arn', kw_only=True, fn=None), ReprPlan.Field(name='revision_id', kw_only=Tru"
|
|
1217
|
+
"e, fn=None), ReprPlan.Field(name='layers', kw_only=True, fn=None), ReprPlan.Field(name='state', kw_only=True, "
|
|
1218
|
+
"fn=None), ReprPlan.Field(name='state_reason', kw_only=True, fn=None), ReprPlan.Field(name='state_reason_code',"
|
|
1219
|
+
" kw_only=True, fn=None), ReprPlan.Field(name='last_update_status', kw_only=True, fn=None), ReprPlan.Field(name"
|
|
1220
|
+
"='last_update_status_reason', kw_only=True, fn=None), ReprPlan.Field(name='last_update_status_reason_code', kw"
|
|
1221
|
+
"_only=True, fn=None), ReprPlan.Field(name='file_system_configs', kw_only=True, fn=None), ReprPlan.Field(name='"
|
|
1222
|
+
"package_type', kw_only=True, fn=None), ReprPlan.Field(name='image_config_response', kw_only=True, fn=None), Re"
|
|
1223
|
+
"prPlan.Field(name='signing_profile_version_arn', kw_only=True, fn=None), ReprPlan.Field(name='signing_job_arn'"
|
|
1224
|
+
", kw_only=True, fn=None), ReprPlan.Field(name='architectures', kw_only=True, fn=None), ReprPlan.Field(name='ep"
|
|
1225
|
+
"hemeral_storage', kw_only=True, fn=None), ReprPlan.Field(name='snap_start', kw_only=True, fn=None), ReprPlan.F"
|
|
1226
|
+
"ield(name='runtime_version_config', kw_only=True, fn=None), ReprPlan.Field(name='logging_config', kw_only=True"
|
|
1227
|
+
", fn=None), ReprPlan.Field(name='capacity_provider_config', kw_only=True, fn=None), ReprPlan.Field(name='confi"
|
|
1228
|
+
"g_sha256', kw_only=True, fn=None), ReprPlan.Field(name='durable_config', kw_only=True, fn=None), ReprPlan.Fiel"
|
|
1229
|
+
"d(name='tenancy_config', kw_only=True, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
1230
|
+
),
|
|
1231
|
+
plan_repr_sha1='73a6aff22feac7761d197b901075deb9184371c9',
|
|
1232
|
+
op_ref_idents=(
|
|
1233
|
+
'__dataclass__init__fields__10__annotation',
|
|
1234
|
+
'__dataclass__init__fields__10__default',
|
|
1235
|
+
'__dataclass__init__fields__11__annotation',
|
|
1236
|
+
'__dataclass__init__fields__11__default',
|
|
1237
|
+
'__dataclass__init__fields__12__annotation',
|
|
1238
|
+
'__dataclass__init__fields__12__default',
|
|
1239
|
+
'__dataclass__init__fields__13__annotation',
|
|
1240
|
+
'__dataclass__init__fields__13__default',
|
|
1241
|
+
'__dataclass__init__fields__14__annotation',
|
|
1242
|
+
'__dataclass__init__fields__14__default',
|
|
1243
|
+
'__dataclass__init__fields__15__annotation',
|
|
1244
|
+
'__dataclass__init__fields__15__default',
|
|
1245
|
+
'__dataclass__init__fields__16__annotation',
|
|
1246
|
+
'__dataclass__init__fields__16__default',
|
|
1247
|
+
'__dataclass__init__fields__17__annotation',
|
|
1248
|
+
'__dataclass__init__fields__17__default',
|
|
1249
|
+
'__dataclass__init__fields__18__annotation',
|
|
1250
|
+
'__dataclass__init__fields__18__default',
|
|
1251
|
+
'__dataclass__init__fields__19__annotation',
|
|
1252
|
+
'__dataclass__init__fields__19__default',
|
|
1253
|
+
'__dataclass__init__fields__1__annotation',
|
|
1254
|
+
'__dataclass__init__fields__1__default',
|
|
1255
|
+
'__dataclass__init__fields__20__annotation',
|
|
1256
|
+
'__dataclass__init__fields__20__default',
|
|
1257
|
+
'__dataclass__init__fields__21__annotation',
|
|
1258
|
+
'__dataclass__init__fields__21__default',
|
|
1259
|
+
'__dataclass__init__fields__22__annotation',
|
|
1260
|
+
'__dataclass__init__fields__22__default',
|
|
1261
|
+
'__dataclass__init__fields__23__annotation',
|
|
1262
|
+
'__dataclass__init__fields__23__default',
|
|
1263
|
+
'__dataclass__init__fields__24__annotation',
|
|
1264
|
+
'__dataclass__init__fields__24__default',
|
|
1265
|
+
'__dataclass__init__fields__25__annotation',
|
|
1266
|
+
'__dataclass__init__fields__25__default',
|
|
1267
|
+
'__dataclass__init__fields__26__annotation',
|
|
1268
|
+
'__dataclass__init__fields__26__default',
|
|
1269
|
+
'__dataclass__init__fields__27__annotation',
|
|
1270
|
+
'__dataclass__init__fields__27__default',
|
|
1271
|
+
'__dataclass__init__fields__28__annotation',
|
|
1272
|
+
'__dataclass__init__fields__28__default',
|
|
1273
|
+
'__dataclass__init__fields__29__annotation',
|
|
1274
|
+
'__dataclass__init__fields__29__default',
|
|
1275
|
+
'__dataclass__init__fields__2__annotation',
|
|
1276
|
+
'__dataclass__init__fields__2__default',
|
|
1277
|
+
'__dataclass__init__fields__30__annotation',
|
|
1278
|
+
'__dataclass__init__fields__30__default',
|
|
1279
|
+
'__dataclass__init__fields__31__annotation',
|
|
1280
|
+
'__dataclass__init__fields__31__default',
|
|
1281
|
+
'__dataclass__init__fields__32__annotation',
|
|
1282
|
+
'__dataclass__init__fields__32__default',
|
|
1283
|
+
'__dataclass__init__fields__33__annotation',
|
|
1284
|
+
'__dataclass__init__fields__33__default',
|
|
1285
|
+
'__dataclass__init__fields__34__annotation',
|
|
1286
|
+
'__dataclass__init__fields__34__default',
|
|
1287
|
+
'__dataclass__init__fields__35__annotation',
|
|
1288
|
+
'__dataclass__init__fields__35__default',
|
|
1289
|
+
'__dataclass__init__fields__36__annotation',
|
|
1290
|
+
'__dataclass__init__fields__36__default',
|
|
1291
|
+
'__dataclass__init__fields__37__annotation',
|
|
1292
|
+
'__dataclass__init__fields__37__default',
|
|
1293
|
+
'__dataclass__init__fields__38__annotation',
|
|
1294
|
+
'__dataclass__init__fields__38__default',
|
|
1295
|
+
'__dataclass__init__fields__39__annotation',
|
|
1296
|
+
'__dataclass__init__fields__39__default',
|
|
1297
|
+
'__dataclass__init__fields__3__annotation',
|
|
1298
|
+
'__dataclass__init__fields__3__default',
|
|
1299
|
+
'__dataclass__init__fields__40__annotation',
|
|
1300
|
+
'__dataclass__init__fields__40__default',
|
|
1301
|
+
'__dataclass__init__fields__4__annotation',
|
|
1302
|
+
'__dataclass__init__fields__4__default',
|
|
1303
|
+
'__dataclass__init__fields__5__annotation',
|
|
1304
|
+
'__dataclass__init__fields__5__default',
|
|
1305
|
+
'__dataclass__init__fields__6__annotation',
|
|
1306
|
+
'__dataclass__init__fields__6__default',
|
|
1307
|
+
'__dataclass__init__fields__7__annotation',
|
|
1308
|
+
'__dataclass__init__fields__7__default',
|
|
1309
|
+
'__dataclass__init__fields__8__annotation',
|
|
1310
|
+
'__dataclass__init__fields__8__default',
|
|
1311
|
+
'__dataclass__init__fields__9__annotation',
|
|
1312
|
+
'__dataclass__init__fields__9__default',
|
|
1313
|
+
),
|
|
1314
|
+
cls_names=(
|
|
1315
|
+
('ominfra.clouds.aws.models.services.lambda_', 'FunctionConfiguration'),
|
|
1316
|
+
),
|
|
1317
|
+
)
|
|
1318
|
+
def _process_dataclass__73a6aff22feac7761d197b901075deb9184371c9():
|
|
1319
|
+
def _process_dataclass(
|
|
1320
|
+
*,
|
|
1321
|
+
__dataclass__cls,
|
|
1322
|
+
__dataclass__init__fields__10__annotation,
|
|
1323
|
+
__dataclass__init__fields__10__default,
|
|
1324
|
+
__dataclass__init__fields__11__annotation,
|
|
1325
|
+
__dataclass__init__fields__11__default,
|
|
1326
|
+
__dataclass__init__fields__12__annotation,
|
|
1327
|
+
__dataclass__init__fields__12__default,
|
|
1328
|
+
__dataclass__init__fields__13__annotation,
|
|
1329
|
+
__dataclass__init__fields__13__default,
|
|
1330
|
+
__dataclass__init__fields__14__annotation,
|
|
1331
|
+
__dataclass__init__fields__14__default,
|
|
1332
|
+
__dataclass__init__fields__15__annotation,
|
|
1333
|
+
__dataclass__init__fields__15__default,
|
|
1334
|
+
__dataclass__init__fields__16__annotation,
|
|
1335
|
+
__dataclass__init__fields__16__default,
|
|
1336
|
+
__dataclass__init__fields__17__annotation,
|
|
1337
|
+
__dataclass__init__fields__17__default,
|
|
1338
|
+
__dataclass__init__fields__18__annotation,
|
|
1339
|
+
__dataclass__init__fields__18__default,
|
|
1340
|
+
__dataclass__init__fields__19__annotation,
|
|
1341
|
+
__dataclass__init__fields__19__default,
|
|
1342
|
+
__dataclass__init__fields__1__annotation,
|
|
1343
|
+
__dataclass__init__fields__1__default,
|
|
1344
|
+
__dataclass__init__fields__20__annotation,
|
|
1345
|
+
__dataclass__init__fields__20__default,
|
|
1346
|
+
__dataclass__init__fields__21__annotation,
|
|
1347
|
+
__dataclass__init__fields__21__default,
|
|
1348
|
+
__dataclass__init__fields__22__annotation,
|
|
1349
|
+
__dataclass__init__fields__22__default,
|
|
1350
|
+
__dataclass__init__fields__23__annotation,
|
|
1351
|
+
__dataclass__init__fields__23__default,
|
|
1352
|
+
__dataclass__init__fields__24__annotation,
|
|
1353
|
+
__dataclass__init__fields__24__default,
|
|
1354
|
+
__dataclass__init__fields__25__annotation,
|
|
1355
|
+
__dataclass__init__fields__25__default,
|
|
1356
|
+
__dataclass__init__fields__26__annotation,
|
|
1357
|
+
__dataclass__init__fields__26__default,
|
|
1358
|
+
__dataclass__init__fields__27__annotation,
|
|
1359
|
+
__dataclass__init__fields__27__default,
|
|
1360
|
+
__dataclass__init__fields__28__annotation,
|
|
1361
|
+
__dataclass__init__fields__28__default,
|
|
1362
|
+
__dataclass__init__fields__29__annotation,
|
|
1363
|
+
__dataclass__init__fields__29__default,
|
|
1364
|
+
__dataclass__init__fields__2__annotation,
|
|
1365
|
+
__dataclass__init__fields__2__default,
|
|
1366
|
+
__dataclass__init__fields__30__annotation,
|
|
1367
|
+
__dataclass__init__fields__30__default,
|
|
1368
|
+
__dataclass__init__fields__31__annotation,
|
|
1369
|
+
__dataclass__init__fields__31__default,
|
|
1370
|
+
__dataclass__init__fields__32__annotation,
|
|
1371
|
+
__dataclass__init__fields__32__default,
|
|
1372
|
+
__dataclass__init__fields__33__annotation,
|
|
1373
|
+
__dataclass__init__fields__33__default,
|
|
1374
|
+
__dataclass__init__fields__34__annotation,
|
|
1375
|
+
__dataclass__init__fields__34__default,
|
|
1376
|
+
__dataclass__init__fields__35__annotation,
|
|
1377
|
+
__dataclass__init__fields__35__default,
|
|
1378
|
+
__dataclass__init__fields__36__annotation,
|
|
1379
|
+
__dataclass__init__fields__36__default,
|
|
1380
|
+
__dataclass__init__fields__37__annotation,
|
|
1381
|
+
__dataclass__init__fields__37__default,
|
|
1382
|
+
__dataclass__init__fields__38__annotation,
|
|
1383
|
+
__dataclass__init__fields__38__default,
|
|
1384
|
+
__dataclass__init__fields__39__annotation,
|
|
1385
|
+
__dataclass__init__fields__39__default,
|
|
1386
|
+
__dataclass__init__fields__3__annotation,
|
|
1387
|
+
__dataclass__init__fields__3__default,
|
|
1388
|
+
__dataclass__init__fields__40__annotation,
|
|
1389
|
+
__dataclass__init__fields__40__default,
|
|
1390
|
+
__dataclass__init__fields__4__annotation,
|
|
1391
|
+
__dataclass__init__fields__4__default,
|
|
1392
|
+
__dataclass__init__fields__5__annotation,
|
|
1393
|
+
__dataclass__init__fields__5__default,
|
|
1394
|
+
__dataclass__init__fields__6__annotation,
|
|
1395
|
+
__dataclass__init__fields__6__default,
|
|
1396
|
+
__dataclass__init__fields__7__annotation,
|
|
1397
|
+
__dataclass__init__fields__7__default,
|
|
1398
|
+
__dataclass__init__fields__8__annotation,
|
|
1399
|
+
__dataclass__init__fields__8__default,
|
|
1400
|
+
__dataclass__init__fields__9__annotation,
|
|
1401
|
+
__dataclass__init__fields__9__default,
|
|
1402
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
1403
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
1404
|
+
__dataclass__FnValidationError, # noqa
|
|
1405
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
1406
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
1407
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
1408
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
1409
|
+
__dataclass__None=None, # noqa
|
|
1410
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
1411
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
1412
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
1413
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
1414
|
+
__dataclass__property=property, # noqa
|
|
1415
|
+
):
|
|
1416
|
+
def __copy__(self):
|
|
1417
|
+
if self.__class__ is not __dataclass__cls:
|
|
1418
|
+
raise TypeError(self)
|
|
1419
|
+
return __dataclass__cls( # noqa
|
|
1420
|
+
function_name=self.function_name,
|
|
1421
|
+
function_arn=self.function_arn,
|
|
1422
|
+
runtime=self.runtime,
|
|
1423
|
+
role=self.role,
|
|
1424
|
+
handler=self.handler,
|
|
1425
|
+
code_size=self.code_size,
|
|
1426
|
+
description=self.description,
|
|
1427
|
+
timeout=self.timeout,
|
|
1428
|
+
memory_size=self.memory_size,
|
|
1429
|
+
last_modified=self.last_modified,
|
|
1430
|
+
code_sha256=self.code_sha256,
|
|
1431
|
+
version=self.version,
|
|
1432
|
+
vpc_config=self.vpc_config,
|
|
1433
|
+
dead_letter_config=self.dead_letter_config,
|
|
1434
|
+
environment=self.environment,
|
|
1435
|
+
kms_key_arn=self.kms_key_arn,
|
|
1436
|
+
tracing_config=self.tracing_config,
|
|
1437
|
+
master_arn=self.master_arn,
|
|
1438
|
+
revision_id=self.revision_id,
|
|
1439
|
+
layers=self.layers,
|
|
1440
|
+
state=self.state,
|
|
1441
|
+
state_reason=self.state_reason,
|
|
1442
|
+
state_reason_code=self.state_reason_code,
|
|
1443
|
+
last_update_status=self.last_update_status,
|
|
1444
|
+
last_update_status_reason=self.last_update_status_reason,
|
|
1445
|
+
last_update_status_reason_code=self.last_update_status_reason_code,
|
|
1446
|
+
file_system_configs=self.file_system_configs,
|
|
1447
|
+
package_type=self.package_type,
|
|
1448
|
+
image_config_response=self.image_config_response,
|
|
1449
|
+
signing_profile_version_arn=self.signing_profile_version_arn,
|
|
1450
|
+
signing_job_arn=self.signing_job_arn,
|
|
1451
|
+
architectures=self.architectures,
|
|
1452
|
+
ephemeral_storage=self.ephemeral_storage,
|
|
1453
|
+
snap_start=self.snap_start,
|
|
1454
|
+
runtime_version_config=self.runtime_version_config,
|
|
1455
|
+
logging_config=self.logging_config,
|
|
1456
|
+
capacity_provider_config=self.capacity_provider_config,
|
|
1457
|
+
config_sha256=self.config_sha256,
|
|
1458
|
+
durable_config=self.durable_config,
|
|
1459
|
+
tenancy_config=self.tenancy_config,
|
|
1460
|
+
)
|
|
1461
|
+
|
|
1462
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
1463
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
1464
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
1465
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
1466
|
+
|
|
1467
|
+
def __eq__(self, other):
|
|
1468
|
+
if self is other:
|
|
1469
|
+
return True
|
|
1470
|
+
if self.__class__ is not other.__class__:
|
|
1471
|
+
return NotImplemented
|
|
1472
|
+
return (
|
|
1473
|
+
self.function_name == other.function_name and
|
|
1474
|
+
self.function_arn == other.function_arn and
|
|
1475
|
+
self.runtime == other.runtime and
|
|
1476
|
+
self.role == other.role and
|
|
1477
|
+
self.handler == other.handler and
|
|
1478
|
+
self.code_size == other.code_size and
|
|
1479
|
+
self.description == other.description and
|
|
1480
|
+
self.timeout == other.timeout and
|
|
1481
|
+
self.memory_size == other.memory_size and
|
|
1482
|
+
self.last_modified == other.last_modified and
|
|
1483
|
+
self.code_sha256 == other.code_sha256 and
|
|
1484
|
+
self.version == other.version and
|
|
1485
|
+
self.vpc_config == other.vpc_config and
|
|
1486
|
+
self.dead_letter_config == other.dead_letter_config and
|
|
1487
|
+
self.environment == other.environment and
|
|
1488
|
+
self.kms_key_arn == other.kms_key_arn and
|
|
1489
|
+
self.tracing_config == other.tracing_config and
|
|
1490
|
+
self.master_arn == other.master_arn and
|
|
1491
|
+
self.revision_id == other.revision_id and
|
|
1492
|
+
self.layers == other.layers and
|
|
1493
|
+
self.state == other.state and
|
|
1494
|
+
self.state_reason == other.state_reason and
|
|
1495
|
+
self.state_reason_code == other.state_reason_code and
|
|
1496
|
+
self.last_update_status == other.last_update_status and
|
|
1497
|
+
self.last_update_status_reason == other.last_update_status_reason and
|
|
1498
|
+
self.last_update_status_reason_code == other.last_update_status_reason_code and
|
|
1499
|
+
self.file_system_configs == other.file_system_configs and
|
|
1500
|
+
self.package_type == other.package_type and
|
|
1501
|
+
self.image_config_response == other.image_config_response and
|
|
1502
|
+
self.signing_profile_version_arn == other.signing_profile_version_arn and
|
|
1503
|
+
self.signing_job_arn == other.signing_job_arn and
|
|
1504
|
+
self.architectures == other.architectures and
|
|
1505
|
+
self.ephemeral_storage == other.ephemeral_storage and
|
|
1506
|
+
self.snap_start == other.snap_start and
|
|
1507
|
+
self.runtime_version_config == other.runtime_version_config and
|
|
1508
|
+
self.logging_config == other.logging_config and
|
|
1509
|
+
self.capacity_provider_config == other.capacity_provider_config and
|
|
1510
|
+
self.config_sha256 == other.config_sha256 and
|
|
1511
|
+
self.durable_config == other.durable_config and
|
|
1512
|
+
self.tenancy_config == other.tenancy_config
|
|
1513
|
+
)
|
|
1514
|
+
|
|
1515
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
1516
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
1517
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
1518
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
1519
|
+
|
|
1520
|
+
__dataclass___setattr_frozen_fields = {
|
|
1521
|
+
'__shape__',
|
|
1522
|
+
'function_name',
|
|
1523
|
+
'function_arn',
|
|
1524
|
+
'runtime',
|
|
1525
|
+
'role',
|
|
1526
|
+
'handler',
|
|
1527
|
+
'code_size',
|
|
1528
|
+
'description',
|
|
1529
|
+
'timeout',
|
|
1530
|
+
'memory_size',
|
|
1531
|
+
'last_modified',
|
|
1532
|
+
'code_sha256',
|
|
1533
|
+
'version',
|
|
1534
|
+
'vpc_config',
|
|
1535
|
+
'dead_letter_config',
|
|
1536
|
+
'environment',
|
|
1537
|
+
'kms_key_arn',
|
|
1538
|
+
'tracing_config',
|
|
1539
|
+
'master_arn',
|
|
1540
|
+
'revision_id',
|
|
1541
|
+
'layers',
|
|
1542
|
+
'state',
|
|
1543
|
+
'state_reason',
|
|
1544
|
+
'state_reason_code',
|
|
1545
|
+
'last_update_status',
|
|
1546
|
+
'last_update_status_reason',
|
|
1547
|
+
'last_update_status_reason_code',
|
|
1548
|
+
'file_system_configs',
|
|
1549
|
+
'package_type',
|
|
1550
|
+
'image_config_response',
|
|
1551
|
+
'signing_profile_version_arn',
|
|
1552
|
+
'signing_job_arn',
|
|
1553
|
+
'architectures',
|
|
1554
|
+
'ephemeral_storage',
|
|
1555
|
+
'snap_start',
|
|
1556
|
+
'runtime_version_config',
|
|
1557
|
+
'logging_config',
|
|
1558
|
+
'capacity_provider_config',
|
|
1559
|
+
'config_sha256',
|
|
1560
|
+
'durable_config',
|
|
1561
|
+
'tenancy_config',
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
def __setattr__(self, name, value):
|
|
1565
|
+
if (
|
|
1566
|
+
type(self) is __dataclass__cls
|
|
1567
|
+
or name in __dataclass___setattr_frozen_fields
|
|
1568
|
+
):
|
|
1569
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
1570
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
1571
|
+
|
|
1572
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
1573
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
1574
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
1575
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
1576
|
+
|
|
1577
|
+
__dataclass___delattr_frozen_fields = {
|
|
1578
|
+
'__shape__',
|
|
1579
|
+
'function_name',
|
|
1580
|
+
'function_arn',
|
|
1581
|
+
'runtime',
|
|
1582
|
+
'role',
|
|
1583
|
+
'handler',
|
|
1584
|
+
'code_size',
|
|
1585
|
+
'description',
|
|
1586
|
+
'timeout',
|
|
1587
|
+
'memory_size',
|
|
1588
|
+
'last_modified',
|
|
1589
|
+
'code_sha256',
|
|
1590
|
+
'version',
|
|
1591
|
+
'vpc_config',
|
|
1592
|
+
'dead_letter_config',
|
|
1593
|
+
'environment',
|
|
1594
|
+
'kms_key_arn',
|
|
1595
|
+
'tracing_config',
|
|
1596
|
+
'master_arn',
|
|
1597
|
+
'revision_id',
|
|
1598
|
+
'layers',
|
|
1599
|
+
'state',
|
|
1600
|
+
'state_reason',
|
|
1601
|
+
'state_reason_code',
|
|
1602
|
+
'last_update_status',
|
|
1603
|
+
'last_update_status_reason',
|
|
1604
|
+
'last_update_status_reason_code',
|
|
1605
|
+
'file_system_configs',
|
|
1606
|
+
'package_type',
|
|
1607
|
+
'image_config_response',
|
|
1608
|
+
'signing_profile_version_arn',
|
|
1609
|
+
'signing_job_arn',
|
|
1610
|
+
'architectures',
|
|
1611
|
+
'ephemeral_storage',
|
|
1612
|
+
'snap_start',
|
|
1613
|
+
'runtime_version_config',
|
|
1614
|
+
'logging_config',
|
|
1615
|
+
'capacity_provider_config',
|
|
1616
|
+
'config_sha256',
|
|
1617
|
+
'durable_config',
|
|
1618
|
+
'tenancy_config',
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
def __delattr__(self, name):
|
|
1622
|
+
if (
|
|
1623
|
+
type(self) is __dataclass__cls
|
|
1624
|
+
or name in __dataclass___delattr_frozen_fields
|
|
1625
|
+
):
|
|
1626
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
1627
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
1628
|
+
|
|
1629
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
1630
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
1631
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
1632
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
1633
|
+
|
|
1634
|
+
def __hash__(self):
|
|
1635
|
+
return hash((
|
|
1636
|
+
self.function_name,
|
|
1637
|
+
self.function_arn,
|
|
1638
|
+
self.runtime,
|
|
1639
|
+
self.role,
|
|
1640
|
+
self.handler,
|
|
1641
|
+
self.code_size,
|
|
1642
|
+
self.description,
|
|
1643
|
+
self.timeout,
|
|
1644
|
+
self.memory_size,
|
|
1645
|
+
self.last_modified,
|
|
1646
|
+
self.code_sha256,
|
|
1647
|
+
self.version,
|
|
1648
|
+
self.vpc_config,
|
|
1649
|
+
self.dead_letter_config,
|
|
1650
|
+
self.environment,
|
|
1651
|
+
self.kms_key_arn,
|
|
1652
|
+
self.tracing_config,
|
|
1653
|
+
self.master_arn,
|
|
1654
|
+
self.revision_id,
|
|
1655
|
+
self.layers,
|
|
1656
|
+
self.state,
|
|
1657
|
+
self.state_reason,
|
|
1658
|
+
self.state_reason_code,
|
|
1659
|
+
self.last_update_status,
|
|
1660
|
+
self.last_update_status_reason,
|
|
1661
|
+
self.last_update_status_reason_code,
|
|
1662
|
+
self.file_system_configs,
|
|
1663
|
+
self.package_type,
|
|
1664
|
+
self.image_config_response,
|
|
1665
|
+
self.signing_profile_version_arn,
|
|
1666
|
+
self.signing_job_arn,
|
|
1667
|
+
self.architectures,
|
|
1668
|
+
self.ephemeral_storage,
|
|
1669
|
+
self.snap_start,
|
|
1670
|
+
self.runtime_version_config,
|
|
1671
|
+
self.logging_config,
|
|
1672
|
+
self.capacity_provider_config,
|
|
1673
|
+
self.config_sha256,
|
|
1674
|
+
self.durable_config,
|
|
1675
|
+
self.tenancy_config,
|
|
1676
|
+
))
|
|
1677
|
+
|
|
1678
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
1679
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
1680
|
+
|
|
1681
|
+
def __init__(
|
|
1682
|
+
self,
|
|
1683
|
+
*,
|
|
1684
|
+
function_name: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
1685
|
+
function_arn: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
1686
|
+
runtime: __dataclass__init__fields__3__annotation = __dataclass__init__fields__3__default,
|
|
1687
|
+
role: __dataclass__init__fields__4__annotation = __dataclass__init__fields__4__default,
|
|
1688
|
+
handler: __dataclass__init__fields__5__annotation = __dataclass__init__fields__5__default,
|
|
1689
|
+
code_size: __dataclass__init__fields__6__annotation = __dataclass__init__fields__6__default,
|
|
1690
|
+
description: __dataclass__init__fields__7__annotation = __dataclass__init__fields__7__default,
|
|
1691
|
+
timeout: __dataclass__init__fields__8__annotation = __dataclass__init__fields__8__default,
|
|
1692
|
+
memory_size: __dataclass__init__fields__9__annotation = __dataclass__init__fields__9__default,
|
|
1693
|
+
last_modified: __dataclass__init__fields__10__annotation = __dataclass__init__fields__10__default,
|
|
1694
|
+
code_sha256: __dataclass__init__fields__11__annotation = __dataclass__init__fields__11__default,
|
|
1695
|
+
version: __dataclass__init__fields__12__annotation = __dataclass__init__fields__12__default,
|
|
1696
|
+
vpc_config: __dataclass__init__fields__13__annotation = __dataclass__init__fields__13__default,
|
|
1697
|
+
dead_letter_config: __dataclass__init__fields__14__annotation = __dataclass__init__fields__14__default,
|
|
1698
|
+
environment: __dataclass__init__fields__15__annotation = __dataclass__init__fields__15__default,
|
|
1699
|
+
kms_key_arn: __dataclass__init__fields__16__annotation = __dataclass__init__fields__16__default,
|
|
1700
|
+
tracing_config: __dataclass__init__fields__17__annotation = __dataclass__init__fields__17__default,
|
|
1701
|
+
master_arn: __dataclass__init__fields__18__annotation = __dataclass__init__fields__18__default,
|
|
1702
|
+
revision_id: __dataclass__init__fields__19__annotation = __dataclass__init__fields__19__default,
|
|
1703
|
+
layers: __dataclass__init__fields__20__annotation = __dataclass__init__fields__20__default,
|
|
1704
|
+
state: __dataclass__init__fields__21__annotation = __dataclass__init__fields__21__default,
|
|
1705
|
+
state_reason: __dataclass__init__fields__22__annotation = __dataclass__init__fields__22__default,
|
|
1706
|
+
state_reason_code: __dataclass__init__fields__23__annotation = __dataclass__init__fields__23__default,
|
|
1707
|
+
last_update_status: __dataclass__init__fields__24__annotation = __dataclass__init__fields__24__default,
|
|
1708
|
+
last_update_status_reason: __dataclass__init__fields__25__annotation = __dataclass__init__fields__25__default,
|
|
1709
|
+
last_update_status_reason_code: __dataclass__init__fields__26__annotation = __dataclass__init__fields__26__default,
|
|
1710
|
+
file_system_configs: __dataclass__init__fields__27__annotation = __dataclass__init__fields__27__default,
|
|
1711
|
+
package_type: __dataclass__init__fields__28__annotation = __dataclass__init__fields__28__default,
|
|
1712
|
+
image_config_response: __dataclass__init__fields__29__annotation = __dataclass__init__fields__29__default,
|
|
1713
|
+
signing_profile_version_arn: __dataclass__init__fields__30__annotation = __dataclass__init__fields__30__default,
|
|
1714
|
+
signing_job_arn: __dataclass__init__fields__31__annotation = __dataclass__init__fields__31__default,
|
|
1715
|
+
architectures: __dataclass__init__fields__32__annotation = __dataclass__init__fields__32__default,
|
|
1716
|
+
ephemeral_storage: __dataclass__init__fields__33__annotation = __dataclass__init__fields__33__default,
|
|
1717
|
+
snap_start: __dataclass__init__fields__34__annotation = __dataclass__init__fields__34__default,
|
|
1718
|
+
runtime_version_config: __dataclass__init__fields__35__annotation = __dataclass__init__fields__35__default,
|
|
1719
|
+
logging_config: __dataclass__init__fields__36__annotation = __dataclass__init__fields__36__default,
|
|
1720
|
+
capacity_provider_config: __dataclass__init__fields__37__annotation = __dataclass__init__fields__37__default,
|
|
1721
|
+
config_sha256: __dataclass__init__fields__38__annotation = __dataclass__init__fields__38__default,
|
|
1722
|
+
durable_config: __dataclass__init__fields__39__annotation = __dataclass__init__fields__39__default,
|
|
1723
|
+
tenancy_config: __dataclass__init__fields__40__annotation = __dataclass__init__fields__40__default,
|
|
1724
|
+
) -> __dataclass__None:
|
|
1725
|
+
__dataclass__object_setattr(self, 'function_name', function_name)
|
|
1726
|
+
__dataclass__object_setattr(self, 'function_arn', function_arn)
|
|
1727
|
+
__dataclass__object_setattr(self, 'runtime', runtime)
|
|
1728
|
+
__dataclass__object_setattr(self, 'role', role)
|
|
1729
|
+
__dataclass__object_setattr(self, 'handler', handler)
|
|
1730
|
+
__dataclass__object_setattr(self, 'code_size', code_size)
|
|
1731
|
+
__dataclass__object_setattr(self, 'description', description)
|
|
1732
|
+
__dataclass__object_setattr(self, 'timeout', timeout)
|
|
1733
|
+
__dataclass__object_setattr(self, 'memory_size', memory_size)
|
|
1734
|
+
__dataclass__object_setattr(self, 'last_modified', last_modified)
|
|
1735
|
+
__dataclass__object_setattr(self, 'code_sha256', code_sha256)
|
|
1736
|
+
__dataclass__object_setattr(self, 'version', version)
|
|
1737
|
+
__dataclass__object_setattr(self, 'vpc_config', vpc_config)
|
|
1738
|
+
__dataclass__object_setattr(self, 'dead_letter_config', dead_letter_config)
|
|
1739
|
+
__dataclass__object_setattr(self, 'environment', environment)
|
|
1740
|
+
__dataclass__object_setattr(self, 'kms_key_arn', kms_key_arn)
|
|
1741
|
+
__dataclass__object_setattr(self, 'tracing_config', tracing_config)
|
|
1742
|
+
__dataclass__object_setattr(self, 'master_arn', master_arn)
|
|
1743
|
+
__dataclass__object_setattr(self, 'revision_id', revision_id)
|
|
1744
|
+
__dataclass__object_setattr(self, 'layers', layers)
|
|
1745
|
+
__dataclass__object_setattr(self, 'state', state)
|
|
1746
|
+
__dataclass__object_setattr(self, 'state_reason', state_reason)
|
|
1747
|
+
__dataclass__object_setattr(self, 'state_reason_code', state_reason_code)
|
|
1748
|
+
__dataclass__object_setattr(self, 'last_update_status', last_update_status)
|
|
1749
|
+
__dataclass__object_setattr(self, 'last_update_status_reason', last_update_status_reason)
|
|
1750
|
+
__dataclass__object_setattr(self, 'last_update_status_reason_code', last_update_status_reason_code)
|
|
1751
|
+
__dataclass__object_setattr(self, 'file_system_configs', file_system_configs)
|
|
1752
|
+
__dataclass__object_setattr(self, 'package_type', package_type)
|
|
1753
|
+
__dataclass__object_setattr(self, 'image_config_response', image_config_response)
|
|
1754
|
+
__dataclass__object_setattr(self, 'signing_profile_version_arn', signing_profile_version_arn)
|
|
1755
|
+
__dataclass__object_setattr(self, 'signing_job_arn', signing_job_arn)
|
|
1756
|
+
__dataclass__object_setattr(self, 'architectures', architectures)
|
|
1757
|
+
__dataclass__object_setattr(self, 'ephemeral_storage', ephemeral_storage)
|
|
1758
|
+
__dataclass__object_setattr(self, 'snap_start', snap_start)
|
|
1759
|
+
__dataclass__object_setattr(self, 'runtime_version_config', runtime_version_config)
|
|
1760
|
+
__dataclass__object_setattr(self, 'logging_config', logging_config)
|
|
1761
|
+
__dataclass__object_setattr(self, 'capacity_provider_config', capacity_provider_config)
|
|
1762
|
+
__dataclass__object_setattr(self, 'config_sha256', config_sha256)
|
|
1763
|
+
__dataclass__object_setattr(self, 'durable_config', durable_config)
|
|
1764
|
+
__dataclass__object_setattr(self, 'tenancy_config', tenancy_config)
|
|
1765
|
+
|
|
1766
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
1767
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
1768
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
1769
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
1770
|
+
|
|
1771
|
+
@__dataclass___recursive_repr()
|
|
1772
|
+
def __repr__(self):
|
|
1773
|
+
parts = []
|
|
1774
|
+
parts.append(f"function_name={self.function_name!r}")
|
|
1775
|
+
parts.append(f"function_arn={self.function_arn!r}")
|
|
1776
|
+
parts.append(f"runtime={self.runtime!r}")
|
|
1777
|
+
parts.append(f"role={self.role!r}")
|
|
1778
|
+
parts.append(f"handler={self.handler!r}")
|
|
1779
|
+
parts.append(f"code_size={self.code_size!r}")
|
|
1780
|
+
parts.append(f"description={self.description!r}")
|
|
1781
|
+
parts.append(f"timeout={self.timeout!r}")
|
|
1782
|
+
parts.append(f"memory_size={self.memory_size!r}")
|
|
1783
|
+
parts.append(f"last_modified={self.last_modified!r}")
|
|
1784
|
+
parts.append(f"code_sha256={self.code_sha256!r}")
|
|
1785
|
+
parts.append(f"version={self.version!r}")
|
|
1786
|
+
parts.append(f"vpc_config={self.vpc_config!r}")
|
|
1787
|
+
parts.append(f"dead_letter_config={self.dead_letter_config!r}")
|
|
1788
|
+
parts.append(f"environment={self.environment!r}")
|
|
1789
|
+
parts.append(f"kms_key_arn={self.kms_key_arn!r}")
|
|
1790
|
+
parts.append(f"tracing_config={self.tracing_config!r}")
|
|
1791
|
+
parts.append(f"master_arn={self.master_arn!r}")
|
|
1792
|
+
parts.append(f"revision_id={self.revision_id!r}")
|
|
1793
|
+
parts.append(f"layers={self.layers!r}")
|
|
1794
|
+
parts.append(f"state={self.state!r}")
|
|
1795
|
+
parts.append(f"state_reason={self.state_reason!r}")
|
|
1796
|
+
parts.append(f"state_reason_code={self.state_reason_code!r}")
|
|
1797
|
+
parts.append(f"last_update_status={self.last_update_status!r}")
|
|
1798
|
+
parts.append(f"last_update_status_reason={self.last_update_status_reason!r}")
|
|
1799
|
+
parts.append(f"last_update_status_reason_code={self.last_update_status_reason_code!r}")
|
|
1800
|
+
parts.append(f"file_system_configs={self.file_system_configs!r}")
|
|
1801
|
+
parts.append(f"package_type={self.package_type!r}")
|
|
1802
|
+
parts.append(f"image_config_response={self.image_config_response!r}")
|
|
1803
|
+
parts.append(f"signing_profile_version_arn={self.signing_profile_version_arn!r}")
|
|
1804
|
+
parts.append(f"signing_job_arn={self.signing_job_arn!r}")
|
|
1805
|
+
parts.append(f"architectures={self.architectures!r}")
|
|
1806
|
+
parts.append(f"ephemeral_storage={self.ephemeral_storage!r}")
|
|
1807
|
+
parts.append(f"snap_start={self.snap_start!r}")
|
|
1808
|
+
parts.append(f"runtime_version_config={self.runtime_version_config!r}")
|
|
1809
|
+
parts.append(f"logging_config={self.logging_config!r}")
|
|
1810
|
+
parts.append(f"capacity_provider_config={self.capacity_provider_config!r}")
|
|
1811
|
+
parts.append(f"config_sha256={self.config_sha256!r}")
|
|
1812
|
+
parts.append(f"durable_config={self.durable_config!r}")
|
|
1813
|
+
parts.append(f"tenancy_config={self.tenancy_config!r}")
|
|
1814
|
+
return (
|
|
1815
|
+
f"{self.__class__.__qualname__}("
|
|
1816
|
+
f"{', '.join(parts)}"
|
|
1817
|
+
f")"
|
|
1818
|
+
)
|
|
1819
|
+
|
|
1820
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
1821
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
1822
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
1823
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
1824
|
+
|
|
1825
|
+
return _process_dataclass
|
|
1826
|
+
|
|
1827
|
+
|
|
1828
|
+
@_register(
|
|
1829
|
+
plan_repr=(
|
|
1830
|
+
"Plans(tup=(CopyPlan(fields=('entry_point', 'command', 'working_directory')), EqPlan(fields=('entry_point', 'co"
|
|
1831
|
+
"mmand', 'working_directory')), FrozenPlan(fields=('__shape__', 'entry_point', 'command', 'working_directory'),"
|
|
1832
|
+
" allow_dynamic_dunder_attrs=False), HashPlan(action='add', fields=('entry_point', 'command', 'working_director"
|
|
1833
|
+
"y'), cache=False), InitPlan(fields=(InitPlan.Field(name='__shape__', annotation=OpRef(name='init.fields.0.anno"
|
|
1834
|
+
"tation'), default=None, default_factory=None, init=True, override=False, field_type=FieldType.CLASS_VAR, coerc"
|
|
1835
|
+
"e=None, validate=None, check_type=None), InitPlan.Field(name='entry_point', annotation=OpRef(name='init.fields"
|
|
1836
|
+
".1.annotation'), default=OpRef(name='init.fields.1.default'), default_factory=None, init=True, override=False,"
|
|
1837
|
+
" field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='command', a"
|
|
1838
|
+
"nnotation=OpRef(name='init.fields.2.annotation'), default=OpRef(name='init.fields.2.default'), default_factory"
|
|
1839
|
+
"=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None),"
|
|
1840
|
+
" InitPlan.Field(name='working_directory', annotation=OpRef(name='init.fields.3.annotation'), default=OpRef(nam"
|
|
1841
|
+
"e='init.fields.3.default'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, co"
|
|
1842
|
+
"erce=None, validate=None, check_type=None)), self_param='self', std_params=(), kw_only_params=('entry_point', "
|
|
1843
|
+
"'command', 'working_directory'), frozen=True, slots=False, post_init_params=None, init_fns=(), validate_fns=()"
|
|
1844
|
+
"), ReprPlan(fields=(ReprPlan.Field(name='entry_point', kw_only=True, fn=None), ReprPlan.Field(name='command', "
|
|
1845
|
+
"kw_only=True, fn=None), ReprPlan.Field(name='working_directory', kw_only=True, fn=None)), id=False, terse=Fals"
|
|
1846
|
+
"e, default_fn=None)))"
|
|
1847
|
+
),
|
|
1848
|
+
plan_repr_sha1='ae03700d2ed8d061b79f46b2ac2de69041ed914c',
|
|
1849
|
+
op_ref_idents=(
|
|
1850
|
+
'__dataclass__init__fields__1__annotation',
|
|
1851
|
+
'__dataclass__init__fields__1__default',
|
|
1852
|
+
'__dataclass__init__fields__2__annotation',
|
|
1853
|
+
'__dataclass__init__fields__2__default',
|
|
1854
|
+
'__dataclass__init__fields__3__annotation',
|
|
1855
|
+
'__dataclass__init__fields__3__default',
|
|
1856
|
+
),
|
|
1857
|
+
cls_names=(
|
|
1858
|
+
('ominfra.clouds.aws.models.services.lambda_', 'ImageConfig'),
|
|
1859
|
+
),
|
|
1860
|
+
)
|
|
1861
|
+
def _process_dataclass__ae03700d2ed8d061b79f46b2ac2de69041ed914c():
|
|
1862
|
+
def _process_dataclass(
|
|
1863
|
+
*,
|
|
1864
|
+
__dataclass__cls,
|
|
1865
|
+
__dataclass__init__fields__1__annotation,
|
|
1866
|
+
__dataclass__init__fields__1__default,
|
|
1867
|
+
__dataclass__init__fields__2__annotation,
|
|
1868
|
+
__dataclass__init__fields__2__default,
|
|
1869
|
+
__dataclass__init__fields__3__annotation,
|
|
1870
|
+
__dataclass__init__fields__3__default,
|
|
1871
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
1872
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
1873
|
+
__dataclass__FnValidationError, # noqa
|
|
1874
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
1875
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
1876
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
1877
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
1878
|
+
__dataclass__None=None, # noqa
|
|
1879
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
1880
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
1881
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
1882
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
1883
|
+
__dataclass__property=property, # noqa
|
|
1884
|
+
):
|
|
1885
|
+
def __copy__(self):
|
|
1886
|
+
if self.__class__ is not __dataclass__cls:
|
|
1887
|
+
raise TypeError(self)
|
|
1888
|
+
return __dataclass__cls( # noqa
|
|
1889
|
+
entry_point=self.entry_point,
|
|
1890
|
+
command=self.command,
|
|
1891
|
+
working_directory=self.working_directory,
|
|
1892
|
+
)
|
|
1893
|
+
|
|
1894
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
1895
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
1896
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
1897
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
1898
|
+
|
|
1899
|
+
def __eq__(self, other):
|
|
1900
|
+
if self is other:
|
|
1901
|
+
return True
|
|
1902
|
+
if self.__class__ is not other.__class__:
|
|
1903
|
+
return NotImplemented
|
|
1904
|
+
return (
|
|
1905
|
+
self.entry_point == other.entry_point and
|
|
1906
|
+
self.command == other.command and
|
|
1907
|
+
self.working_directory == other.working_directory
|
|
1908
|
+
)
|
|
1909
|
+
|
|
1910
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
1911
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
1912
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
1913
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
1914
|
+
|
|
1915
|
+
__dataclass___setattr_frozen_fields = {
|
|
1916
|
+
'__shape__',
|
|
1917
|
+
'entry_point',
|
|
1918
|
+
'command',
|
|
1919
|
+
'working_directory',
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1922
|
+
def __setattr__(self, name, value):
|
|
1923
|
+
if (
|
|
1924
|
+
type(self) is __dataclass__cls
|
|
1925
|
+
or name in __dataclass___setattr_frozen_fields
|
|
1926
|
+
):
|
|
1927
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
1928
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
1929
|
+
|
|
1930
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
1931
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
1932
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
1933
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
1934
|
+
|
|
1935
|
+
__dataclass___delattr_frozen_fields = {
|
|
1936
|
+
'__shape__',
|
|
1937
|
+
'entry_point',
|
|
1938
|
+
'command',
|
|
1939
|
+
'working_directory',
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
def __delattr__(self, name):
|
|
1943
|
+
if (
|
|
1944
|
+
type(self) is __dataclass__cls
|
|
1945
|
+
or name in __dataclass___delattr_frozen_fields
|
|
1946
|
+
):
|
|
1947
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
1948
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
1949
|
+
|
|
1950
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
1951
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
1952
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
1953
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
1954
|
+
|
|
1955
|
+
def __hash__(self):
|
|
1956
|
+
return hash((
|
|
1957
|
+
self.entry_point,
|
|
1958
|
+
self.command,
|
|
1959
|
+
self.working_directory,
|
|
1960
|
+
))
|
|
1961
|
+
|
|
1962
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
1963
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
1964
|
+
|
|
1965
|
+
def __init__(
|
|
1966
|
+
self,
|
|
1967
|
+
*,
|
|
1968
|
+
entry_point: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
1969
|
+
command: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
1970
|
+
working_directory: __dataclass__init__fields__3__annotation = __dataclass__init__fields__3__default,
|
|
1971
|
+
) -> __dataclass__None:
|
|
1972
|
+
__dataclass__object_setattr(self, 'entry_point', entry_point)
|
|
1973
|
+
__dataclass__object_setattr(self, 'command', command)
|
|
1974
|
+
__dataclass__object_setattr(self, 'working_directory', working_directory)
|
|
1975
|
+
|
|
1976
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
1977
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
1978
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
1979
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
1980
|
+
|
|
1981
|
+
@__dataclass___recursive_repr()
|
|
1982
|
+
def __repr__(self):
|
|
1983
|
+
parts = []
|
|
1984
|
+
parts.append(f"entry_point={self.entry_point!r}")
|
|
1985
|
+
parts.append(f"command={self.command!r}")
|
|
1986
|
+
parts.append(f"working_directory={self.working_directory!r}")
|
|
1987
|
+
return (
|
|
1988
|
+
f"{self.__class__.__qualname__}("
|
|
1989
|
+
f"{', '.join(parts)}"
|
|
1990
|
+
f")"
|
|
1991
|
+
)
|
|
1992
|
+
|
|
1993
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
1994
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
1995
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
1996
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
1997
|
+
|
|
1998
|
+
return _process_dataclass
|
|
1999
|
+
|
|
2000
|
+
|
|
2001
|
+
@_register(
|
|
2002
|
+
plan_repr=(
|
|
2003
|
+
"Plans(tup=(CopyPlan(fields=('image_config', 'error')), EqPlan(fields=('image_config', 'error')), FrozenPlan(fi"
|
|
2004
|
+
"elds=('__shape__', 'image_config', 'error'), allow_dynamic_dunder_attrs=False), HashPlan(action='add', fields="
|
|
2005
|
+
"('image_config', 'error'), cache=False), InitPlan(fields=(InitPlan.Field(name='__shape__', annotation=OpRef(na"
|
|
2006
|
+
"me='init.fields.0.annotation'), default=None, default_factory=None, init=True, override=False, field_type=Fiel"
|
|
2007
|
+
"dType.CLASS_VAR, coerce=None, validate=None, check_type=None), InitPlan.Field(name='image_config', annotation="
|
|
2008
|
+
"OpRef(name='init.fields.1.annotation'), default=OpRef(name='init.fields.1.default'), default_factory=None, ini"
|
|
2009
|
+
"t=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan."
|
|
2010
|
+
"Field(name='error', annotation=OpRef(name='init.fields.2.annotation'), default=OpRef(name='init.fields.2.defau"
|
|
2011
|
+
"lt'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=No"
|
|
2012
|
+
"ne, check_type=None)), self_param='self', std_params=(), kw_only_params=('image_config', 'error'), frozen=True"
|
|
2013
|
+
", slots=False, post_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='ima"
|
|
2014
|
+
"ge_config', kw_only=True, fn=None), ReprPlan.Field(name='error', kw_only=True, fn=None)), id=False, terse=Fals"
|
|
2015
|
+
"e, default_fn=None)))"
|
|
2016
|
+
),
|
|
2017
|
+
plan_repr_sha1='f187f9f7e4a3a31f7e7c47ced435e80463092461',
|
|
2018
|
+
op_ref_idents=(
|
|
2019
|
+
'__dataclass__init__fields__1__annotation',
|
|
2020
|
+
'__dataclass__init__fields__1__default',
|
|
2021
|
+
'__dataclass__init__fields__2__annotation',
|
|
2022
|
+
'__dataclass__init__fields__2__default',
|
|
2023
|
+
),
|
|
2024
|
+
cls_names=(
|
|
2025
|
+
('ominfra.clouds.aws.models.services.lambda_', 'ImageConfigResponse'),
|
|
2026
|
+
),
|
|
2027
|
+
)
|
|
2028
|
+
def _process_dataclass__f187f9f7e4a3a31f7e7c47ced435e80463092461():
|
|
2029
|
+
def _process_dataclass(
|
|
2030
|
+
*,
|
|
2031
|
+
__dataclass__cls,
|
|
2032
|
+
__dataclass__init__fields__1__annotation,
|
|
2033
|
+
__dataclass__init__fields__1__default,
|
|
2034
|
+
__dataclass__init__fields__2__annotation,
|
|
2035
|
+
__dataclass__init__fields__2__default,
|
|
2036
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
2037
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
2038
|
+
__dataclass__FnValidationError, # noqa
|
|
2039
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
2040
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
2041
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
2042
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
2043
|
+
__dataclass__None=None, # noqa
|
|
2044
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
2045
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
2046
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
2047
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
2048
|
+
__dataclass__property=property, # noqa
|
|
2049
|
+
):
|
|
2050
|
+
def __copy__(self):
|
|
2051
|
+
if self.__class__ is not __dataclass__cls:
|
|
2052
|
+
raise TypeError(self)
|
|
2053
|
+
return __dataclass__cls( # noqa
|
|
2054
|
+
image_config=self.image_config,
|
|
2055
|
+
error=self.error,
|
|
2056
|
+
)
|
|
2057
|
+
|
|
2058
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
2059
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
2060
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
2061
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
2062
|
+
|
|
2063
|
+
def __eq__(self, other):
|
|
2064
|
+
if self is other:
|
|
2065
|
+
return True
|
|
2066
|
+
if self.__class__ is not other.__class__:
|
|
2067
|
+
return NotImplemented
|
|
2068
|
+
return (
|
|
2069
|
+
self.image_config == other.image_config and
|
|
2070
|
+
self.error == other.error
|
|
2071
|
+
)
|
|
2072
|
+
|
|
2073
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
2074
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
2075
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
2076
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
2077
|
+
|
|
2078
|
+
__dataclass___setattr_frozen_fields = {
|
|
2079
|
+
'__shape__',
|
|
2080
|
+
'image_config',
|
|
2081
|
+
'error',
|
|
2082
|
+
}
|
|
2083
|
+
|
|
2084
|
+
def __setattr__(self, name, value):
|
|
2085
|
+
if (
|
|
2086
|
+
type(self) is __dataclass__cls
|
|
2087
|
+
or name in __dataclass___setattr_frozen_fields
|
|
2088
|
+
):
|
|
2089
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
2090
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
2091
|
+
|
|
2092
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
2093
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
2094
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
2095
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
2096
|
+
|
|
2097
|
+
__dataclass___delattr_frozen_fields = {
|
|
2098
|
+
'__shape__',
|
|
2099
|
+
'image_config',
|
|
2100
|
+
'error',
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
def __delattr__(self, name):
|
|
2104
|
+
if (
|
|
2105
|
+
type(self) is __dataclass__cls
|
|
2106
|
+
or name in __dataclass___delattr_frozen_fields
|
|
2107
|
+
):
|
|
2108
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
2109
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
2110
|
+
|
|
2111
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
2112
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
2113
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
2114
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
2115
|
+
|
|
2116
|
+
def __hash__(self):
|
|
2117
|
+
return hash((
|
|
2118
|
+
self.image_config,
|
|
2119
|
+
self.error,
|
|
2120
|
+
))
|
|
2121
|
+
|
|
2122
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
2123
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
2124
|
+
|
|
2125
|
+
def __init__(
|
|
2126
|
+
self,
|
|
2127
|
+
*,
|
|
2128
|
+
image_config: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
2129
|
+
error: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
2130
|
+
) -> __dataclass__None:
|
|
2131
|
+
__dataclass__object_setattr(self, 'image_config', image_config)
|
|
2132
|
+
__dataclass__object_setattr(self, 'error', error)
|
|
2133
|
+
|
|
2134
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
2135
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
2136
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
2137
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
2138
|
+
|
|
2139
|
+
@__dataclass___recursive_repr()
|
|
2140
|
+
def __repr__(self):
|
|
2141
|
+
parts = []
|
|
2142
|
+
parts.append(f"image_config={self.image_config!r}")
|
|
2143
|
+
parts.append(f"error={self.error!r}")
|
|
2144
|
+
return (
|
|
2145
|
+
f"{self.__class__.__qualname__}("
|
|
2146
|
+
f"{', '.join(parts)}"
|
|
2147
|
+
f")"
|
|
2148
|
+
)
|
|
2149
|
+
|
|
2150
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
2151
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
2152
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
2153
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
2154
|
+
|
|
2155
|
+
return _process_dataclass
|
|
2156
|
+
|
|
2157
|
+
|
|
2158
|
+
@_register(
|
|
2159
|
+
plan_repr=(
|
|
2160
|
+
"Plans(tup=(CopyPlan(fields=('type', 'message')), EqPlan(fields=('type', 'message')), FrozenPlan(fields=('__sha"
|
|
2161
|
+
"pe__', 'type', 'message'), allow_dynamic_dunder_attrs=False), HashPlan(action='add', fields=('type', 'message'"
|
|
2162
|
+
"), cache=False), InitPlan(fields=(InitPlan.Field(name='__shape__', annotation=OpRef(name='init.fields.0.annota"
|
|
2163
|
+
"tion'), default=None, default_factory=None, init=True, override=False, field_type=FieldType.CLASS_VAR, coerce="
|
|
2164
|
+
"None, validate=None, check_type=None), InitPlan.Field(name='type', annotation=OpRef(name='init.fields.1.annota"
|
|
2165
|
+
"tion'), default=OpRef(name='init.fields.1.default'), default_factory=None, init=True, override=False, field_ty"
|
|
2166
|
+
"pe=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='message', annotation"
|
|
2167
|
+
"=OpRef(name='init.fields.2.annotation'), default=OpRef(name='init.fields.2.default'), default_factory=None, in"
|
|
2168
|
+
"it=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)), self_pa"
|
|
2169
|
+
"ram='self', std_params=(), kw_only_params=('type', 'message'), frozen=True, slots=False, post_init_params=None"
|
|
2170
|
+
", init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='type', kw_only=True, fn=None), ReprPlan"
|
|
2171
|
+
".Field(name='message', kw_only=True, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
2172
|
+
),
|
|
2173
|
+
plan_repr_sha1='4727185bc15d0b892fa2952d4b56ab294b06b6b7',
|
|
2174
|
+
op_ref_idents=(
|
|
2175
|
+
'__dataclass__init__fields__1__annotation',
|
|
2176
|
+
'__dataclass__init__fields__1__default',
|
|
2177
|
+
'__dataclass__init__fields__2__annotation',
|
|
2178
|
+
'__dataclass__init__fields__2__default',
|
|
2179
|
+
),
|
|
2180
|
+
cls_names=(
|
|
2181
|
+
('ominfra.clouds.aws.models.services.lambda_', 'InvalidParameterValueException'),
|
|
2182
|
+
('ominfra.clouds.aws.models.services.lambda_', 'ServiceException'),
|
|
2183
|
+
),
|
|
2184
|
+
)
|
|
2185
|
+
def _process_dataclass__4727185bc15d0b892fa2952d4b56ab294b06b6b7():
|
|
2186
|
+
def _process_dataclass(
|
|
2187
|
+
*,
|
|
2188
|
+
__dataclass__cls,
|
|
2189
|
+
__dataclass__init__fields__1__annotation,
|
|
2190
|
+
__dataclass__init__fields__1__default,
|
|
2191
|
+
__dataclass__init__fields__2__annotation,
|
|
2192
|
+
__dataclass__init__fields__2__default,
|
|
2193
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
2194
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
2195
|
+
__dataclass__FnValidationError, # noqa
|
|
2196
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
2197
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
2198
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
2199
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
2200
|
+
__dataclass__None=None, # noqa
|
|
2201
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
2202
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
2203
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
2204
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
2205
|
+
__dataclass__property=property, # noqa
|
|
2206
|
+
):
|
|
2207
|
+
def __copy__(self):
|
|
2208
|
+
if self.__class__ is not __dataclass__cls:
|
|
2209
|
+
raise TypeError(self)
|
|
2210
|
+
return __dataclass__cls( # noqa
|
|
2211
|
+
type=self.type,
|
|
2212
|
+
message=self.message,
|
|
2213
|
+
)
|
|
2214
|
+
|
|
2215
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
2216
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
2217
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
2218
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
2219
|
+
|
|
2220
|
+
def __eq__(self, other):
|
|
2221
|
+
if self is other:
|
|
2222
|
+
return True
|
|
2223
|
+
if self.__class__ is not other.__class__:
|
|
2224
|
+
return NotImplemented
|
|
2225
|
+
return (
|
|
2226
|
+
self.type == other.type and
|
|
2227
|
+
self.message == other.message
|
|
2228
|
+
)
|
|
2229
|
+
|
|
2230
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
2231
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
2232
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
2233
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
2234
|
+
|
|
2235
|
+
__dataclass___setattr_frozen_fields = {
|
|
2236
|
+
'__shape__',
|
|
2237
|
+
'type',
|
|
2238
|
+
'message',
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
def __setattr__(self, name, value):
|
|
2242
|
+
if (
|
|
2243
|
+
type(self) is __dataclass__cls
|
|
2244
|
+
or name in __dataclass___setattr_frozen_fields
|
|
2245
|
+
):
|
|
2246
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
2247
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
2248
|
+
|
|
2249
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
2250
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
2251
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
2252
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
2253
|
+
|
|
2254
|
+
__dataclass___delattr_frozen_fields = {
|
|
2255
|
+
'__shape__',
|
|
2256
|
+
'type',
|
|
2257
|
+
'message',
|
|
2258
|
+
}
|
|
2259
|
+
|
|
2260
|
+
def __delattr__(self, name):
|
|
2261
|
+
if (
|
|
2262
|
+
type(self) is __dataclass__cls
|
|
2263
|
+
or name in __dataclass___delattr_frozen_fields
|
|
2264
|
+
):
|
|
2265
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
2266
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
2267
|
+
|
|
2268
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
2269
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
2270
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
2271
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
2272
|
+
|
|
2273
|
+
def __hash__(self):
|
|
2274
|
+
return hash((
|
|
2275
|
+
self.type,
|
|
2276
|
+
self.message,
|
|
2277
|
+
))
|
|
2278
|
+
|
|
2279
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
2280
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
2281
|
+
|
|
2282
|
+
def __init__(
|
|
2283
|
+
self,
|
|
2284
|
+
*,
|
|
2285
|
+
type: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
2286
|
+
message: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
2287
|
+
) -> __dataclass__None:
|
|
2288
|
+
__dataclass__object_setattr(self, 'type', type)
|
|
2289
|
+
__dataclass__object_setattr(self, 'message', message)
|
|
2290
|
+
|
|
2291
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
2292
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
2293
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
2294
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
2295
|
+
|
|
2296
|
+
@__dataclass___recursive_repr()
|
|
2297
|
+
def __repr__(self):
|
|
2298
|
+
parts = []
|
|
2299
|
+
parts.append(f"type={self.type!r}")
|
|
2300
|
+
parts.append(f"message={self.message!r}")
|
|
2301
|
+
return (
|
|
2302
|
+
f"{self.__class__.__qualname__}("
|
|
2303
|
+
f"{', '.join(parts)}"
|
|
2304
|
+
f")"
|
|
2305
|
+
)
|
|
2306
|
+
|
|
2307
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
2308
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
2309
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
2310
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
2311
|
+
|
|
2312
|
+
return _process_dataclass
|
|
2313
|
+
|
|
2314
|
+
|
|
2315
|
+
@_register(
|
|
2316
|
+
plan_repr=(
|
|
2317
|
+
"Plans(tup=(CopyPlan(fields=('capacity_provider_arn', 'per_execution_environment_max_concurrency', 'execution_e"
|
|
2318
|
+
"nvironment_memory_gi_b_per_v_cpu')), EqPlan(fields=('capacity_provider_arn', 'per_execution_environment_max_co"
|
|
2319
|
+
"ncurrency', 'execution_environment_memory_gi_b_per_v_cpu')), FrozenPlan(fields=('__shape__', 'capacity_provide"
|
|
2320
|
+
"r_arn', 'per_execution_environment_max_concurrency', 'execution_environment_memory_gi_b_per_v_cpu'), allow_dyn"
|
|
2321
|
+
"amic_dunder_attrs=False), HashPlan(action='add', fields=('capacity_provider_arn', 'per_execution_environment_m"
|
|
2322
|
+
"ax_concurrency', 'execution_environment_memory_gi_b_per_v_cpu'), cache=False), InitPlan(fields=(InitPlan.Field"
|
|
2323
|
+
"(name='__shape__', annotation=OpRef(name='init.fields.0.annotation'), default=None, default_factory=None, init"
|
|
2324
|
+
"=True, override=False, field_type=FieldType.CLASS_VAR, coerce=None, validate=None, check_type=None), InitPlan."
|
|
2325
|
+
"Field(name='capacity_provider_arn', annotation=OpRef(name='init.fields.1.annotation'), default=None, default_f"
|
|
2326
|
+
"actory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type="
|
|
2327
|
+
"None), InitPlan.Field(name='per_execution_environment_max_concurrency', annotation=OpRef(name='init.fields.2.a"
|
|
2328
|
+
"nnotation'), default=OpRef(name='init.fields.2.default'), default_factory=None, init=True, override=False, fie"
|
|
2329
|
+
"ld_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='execution_envir"
|
|
2330
|
+
"onment_memory_gi_b_per_v_cpu', annotation=OpRef(name='init.fields.3.annotation'), default=OpRef(name='init.fie"
|
|
2331
|
+
"lds.3.default'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, "
|
|
2332
|
+
"validate=None, check_type=None)), self_param='self', std_params=(), kw_only_params=('capacity_provider_arn', '"
|
|
2333
|
+
"per_execution_environment_max_concurrency', 'execution_environment_memory_gi_b_per_v_cpu'), frozen=True, slots"
|
|
2334
|
+
"=False, post_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='capacity_p"
|
|
2335
|
+
"rovider_arn', kw_only=True, fn=None), ReprPlan.Field(name='per_execution_environment_max_concurrency', kw_only"
|
|
2336
|
+
"=True, fn=None), ReprPlan.Field(name='execution_environment_memory_gi_b_per_v_cpu', kw_only=True, fn=None)), i"
|
|
2337
|
+
"d=False, terse=False, default_fn=None)))"
|
|
2338
|
+
),
|
|
2339
|
+
plan_repr_sha1='02fae62a0f61feae0ec5fbd59f6801f513d2c3e6',
|
|
2340
|
+
op_ref_idents=(
|
|
2341
|
+
'__dataclass__init__fields__1__annotation',
|
|
2342
|
+
'__dataclass__init__fields__2__annotation',
|
|
2343
|
+
'__dataclass__init__fields__2__default',
|
|
2344
|
+
'__dataclass__init__fields__3__annotation',
|
|
2345
|
+
'__dataclass__init__fields__3__default',
|
|
2346
|
+
),
|
|
2347
|
+
cls_names=(
|
|
2348
|
+
('ominfra.clouds.aws.models.services.lambda_', 'LambdaManagedInstancesCapacityProviderConfig'),
|
|
2349
|
+
),
|
|
2350
|
+
)
|
|
2351
|
+
def _process_dataclass__02fae62a0f61feae0ec5fbd59f6801f513d2c3e6():
|
|
2352
|
+
def _process_dataclass(
|
|
2353
|
+
*,
|
|
2354
|
+
__dataclass__cls,
|
|
2355
|
+
__dataclass__init__fields__1__annotation,
|
|
2356
|
+
__dataclass__init__fields__2__annotation,
|
|
2357
|
+
__dataclass__init__fields__2__default,
|
|
2358
|
+
__dataclass__init__fields__3__annotation,
|
|
2359
|
+
__dataclass__init__fields__3__default,
|
|
2360
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
2361
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
2362
|
+
__dataclass__FnValidationError, # noqa
|
|
2363
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
2364
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
2365
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
2366
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
2367
|
+
__dataclass__None=None, # noqa
|
|
2368
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
2369
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
2370
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
2371
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
2372
|
+
__dataclass__property=property, # noqa
|
|
2373
|
+
):
|
|
2374
|
+
def __copy__(self):
|
|
2375
|
+
if self.__class__ is not __dataclass__cls:
|
|
2376
|
+
raise TypeError(self)
|
|
2377
|
+
return __dataclass__cls( # noqa
|
|
2378
|
+
capacity_provider_arn=self.capacity_provider_arn,
|
|
2379
|
+
per_execution_environment_max_concurrency=self.per_execution_environment_max_concurrency,
|
|
2380
|
+
execution_environment_memory_gi_b_per_v_cpu=self.execution_environment_memory_gi_b_per_v_cpu,
|
|
2381
|
+
)
|
|
2382
|
+
|
|
2383
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
2384
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
2385
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
2386
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
2387
|
+
|
|
2388
|
+
def __eq__(self, other):
|
|
2389
|
+
if self is other:
|
|
2390
|
+
return True
|
|
2391
|
+
if self.__class__ is not other.__class__:
|
|
2392
|
+
return NotImplemented
|
|
2393
|
+
return (
|
|
2394
|
+
self.capacity_provider_arn == other.capacity_provider_arn and
|
|
2395
|
+
self.per_execution_environment_max_concurrency == other.per_execution_environment_max_concurrency and
|
|
2396
|
+
self.execution_environment_memory_gi_b_per_v_cpu == other.execution_environment_memory_gi_b_per_v_cpu
|
|
2397
|
+
)
|
|
2398
|
+
|
|
2399
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
2400
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
2401
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
2402
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
2403
|
+
|
|
2404
|
+
__dataclass___setattr_frozen_fields = {
|
|
2405
|
+
'__shape__',
|
|
2406
|
+
'capacity_provider_arn',
|
|
2407
|
+
'per_execution_environment_max_concurrency',
|
|
2408
|
+
'execution_environment_memory_gi_b_per_v_cpu',
|
|
2409
|
+
}
|
|
2410
|
+
|
|
2411
|
+
def __setattr__(self, name, value):
|
|
2412
|
+
if (
|
|
2413
|
+
type(self) is __dataclass__cls
|
|
2414
|
+
or name in __dataclass___setattr_frozen_fields
|
|
2415
|
+
):
|
|
2416
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
2417
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
2418
|
+
|
|
2419
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
2420
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
2421
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
2422
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
2423
|
+
|
|
2424
|
+
__dataclass___delattr_frozen_fields = {
|
|
2425
|
+
'__shape__',
|
|
2426
|
+
'capacity_provider_arn',
|
|
2427
|
+
'per_execution_environment_max_concurrency',
|
|
2428
|
+
'execution_environment_memory_gi_b_per_v_cpu',
|
|
2429
|
+
}
|
|
2430
|
+
|
|
2431
|
+
def __delattr__(self, name):
|
|
2432
|
+
if (
|
|
2433
|
+
type(self) is __dataclass__cls
|
|
2434
|
+
or name in __dataclass___delattr_frozen_fields
|
|
2435
|
+
):
|
|
2436
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
2437
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
2438
|
+
|
|
2439
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
2440
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
2441
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
2442
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
2443
|
+
|
|
2444
|
+
def __hash__(self):
|
|
2445
|
+
return hash((
|
|
2446
|
+
self.capacity_provider_arn,
|
|
2447
|
+
self.per_execution_environment_max_concurrency,
|
|
2448
|
+
self.execution_environment_memory_gi_b_per_v_cpu,
|
|
2449
|
+
))
|
|
2450
|
+
|
|
2451
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
2452
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
2453
|
+
|
|
2454
|
+
def __init__(
|
|
2455
|
+
self,
|
|
2456
|
+
*,
|
|
2457
|
+
capacity_provider_arn: __dataclass__init__fields__1__annotation,
|
|
2458
|
+
per_execution_environment_max_concurrency: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
2459
|
+
execution_environment_memory_gi_b_per_v_cpu: __dataclass__init__fields__3__annotation = __dataclass__init__fields__3__default,
|
|
2460
|
+
) -> __dataclass__None:
|
|
2461
|
+
__dataclass__object_setattr(self, 'capacity_provider_arn', capacity_provider_arn)
|
|
2462
|
+
__dataclass__object_setattr(self, 'per_execution_environment_max_concurrency', per_execution_environment_max_concurrency)
|
|
2463
|
+
__dataclass__object_setattr(self, 'execution_environment_memory_gi_b_per_v_cpu', execution_environment_memory_gi_b_per_v_cpu)
|
|
2464
|
+
|
|
2465
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
2466
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
2467
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
2468
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
2469
|
+
|
|
2470
|
+
@__dataclass___recursive_repr()
|
|
2471
|
+
def __repr__(self):
|
|
2472
|
+
parts = []
|
|
2473
|
+
parts.append(f"capacity_provider_arn={self.capacity_provider_arn!r}")
|
|
2474
|
+
parts.append(f"per_execution_environment_max_concurrency={self.per_execution_environment_max_concurrency!r}")
|
|
2475
|
+
parts.append(f"execution_environment_memory_gi_b_per_v_cpu={self.execution_environment_memory_gi_b_per_v_cpu!r}")
|
|
2476
|
+
return (
|
|
2477
|
+
f"{self.__class__.__qualname__}("
|
|
2478
|
+
f"{', '.join(parts)}"
|
|
2479
|
+
f")"
|
|
2480
|
+
)
|
|
2481
|
+
|
|
2482
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
2483
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
2484
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
2485
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
2486
|
+
|
|
2487
|
+
return _process_dataclass
|
|
2488
|
+
|
|
2489
|
+
|
|
2490
|
+
@_register(
|
|
2491
|
+
plan_repr=(
|
|
2492
|
+
"Plans(tup=(CopyPlan(fields=('arn', 'code_size', 'signing_profile_version_arn', 'signing_job_arn')), EqPlan(fie"
|
|
2493
|
+
"lds=('arn', 'code_size', 'signing_profile_version_arn', 'signing_job_arn')), FrozenPlan(fields=('__shape__', '"
|
|
2494
|
+
"arn', 'code_size', 'signing_profile_version_arn', 'signing_job_arn'), allow_dynamic_dunder_attrs=False), HashP"
|
|
2495
|
+
"lan(action='add', fields=('arn', 'code_size', 'signing_profile_version_arn', 'signing_job_arn'), cache=False),"
|
|
2496
|
+
" InitPlan(fields=(InitPlan.Field(name='__shape__', annotation=OpRef(name='init.fields.0.annotation'), default="
|
|
2497
|
+
"None, default_factory=None, init=True, override=False, field_type=FieldType.CLASS_VAR, coerce=None, validate=N"
|
|
2498
|
+
"one, check_type=None), InitPlan.Field(name='arn', annotation=OpRef(name='init.fields.1.annotation'), default=O"
|
|
2499
|
+
"pRef(name='init.fields.1.default'), default_factory=None, init=True, override=False, field_type=FieldType.INST"
|
|
2500
|
+
"ANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='code_size', annotation=OpRef(name='in"
|
|
2501
|
+
"it.fields.2.annotation'), default=OpRef(name='init.fields.2.default'), default_factory=None, init=True, overri"
|
|
2502
|
+
"de=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='si"
|
|
2503
|
+
"gning_profile_version_arn', annotation=OpRef(name='init.fields.3.annotation'), default=OpRef(name='init.fields"
|
|
2504
|
+
".3.default'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, val"
|
|
2505
|
+
"idate=None, check_type=None), InitPlan.Field(name='signing_job_arn', annotation=OpRef(name='init.fields.4.anno"
|
|
2506
|
+
"tation'), default=OpRef(name='init.fields.4.default'), default_factory=None, init=True, override=False, field_"
|
|
2507
|
+
"type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)), self_param='self', std_params=(), kw_o"
|
|
2508
|
+
"nly_params=('arn', 'code_size', 'signing_profile_version_arn', 'signing_job_arn'), frozen=True, slots=False, p"
|
|
2509
|
+
"ost_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='arn', kw_only=True,"
|
|
2510
|
+
" fn=None), ReprPlan.Field(name='code_size', kw_only=True, fn=None), ReprPlan.Field(name='signing_profile_versi"
|
|
2511
|
+
"on_arn', kw_only=True, fn=None), ReprPlan.Field(name='signing_job_arn', kw_only=True, fn=None)), id=False, ter"
|
|
2512
|
+
"se=False, default_fn=None)))"
|
|
2513
|
+
),
|
|
2514
|
+
plan_repr_sha1='e1e72a9e7b3e49b7385462d8740c9876d598e19a',
|
|
2515
|
+
op_ref_idents=(
|
|
2516
|
+
'__dataclass__init__fields__1__annotation',
|
|
2517
|
+
'__dataclass__init__fields__1__default',
|
|
2518
|
+
'__dataclass__init__fields__2__annotation',
|
|
2519
|
+
'__dataclass__init__fields__2__default',
|
|
2520
|
+
'__dataclass__init__fields__3__annotation',
|
|
2521
|
+
'__dataclass__init__fields__3__default',
|
|
2522
|
+
'__dataclass__init__fields__4__annotation',
|
|
2523
|
+
'__dataclass__init__fields__4__default',
|
|
2524
|
+
),
|
|
2525
|
+
cls_names=(
|
|
2526
|
+
('ominfra.clouds.aws.models.services.lambda_', 'Layer'),
|
|
2527
|
+
),
|
|
2528
|
+
)
|
|
2529
|
+
def _process_dataclass__e1e72a9e7b3e49b7385462d8740c9876d598e19a():
|
|
2530
|
+
def _process_dataclass(
|
|
2531
|
+
*,
|
|
2532
|
+
__dataclass__cls,
|
|
2533
|
+
__dataclass__init__fields__1__annotation,
|
|
2534
|
+
__dataclass__init__fields__1__default,
|
|
2535
|
+
__dataclass__init__fields__2__annotation,
|
|
2536
|
+
__dataclass__init__fields__2__default,
|
|
2537
|
+
__dataclass__init__fields__3__annotation,
|
|
2538
|
+
__dataclass__init__fields__3__default,
|
|
2539
|
+
__dataclass__init__fields__4__annotation,
|
|
2540
|
+
__dataclass__init__fields__4__default,
|
|
2541
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
2542
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
2543
|
+
__dataclass__FnValidationError, # noqa
|
|
2544
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
2545
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
2546
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
2547
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
2548
|
+
__dataclass__None=None, # noqa
|
|
2549
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
2550
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
2551
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
2552
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
2553
|
+
__dataclass__property=property, # noqa
|
|
2554
|
+
):
|
|
2555
|
+
def __copy__(self):
|
|
2556
|
+
if self.__class__ is not __dataclass__cls:
|
|
2557
|
+
raise TypeError(self)
|
|
2558
|
+
return __dataclass__cls( # noqa
|
|
2559
|
+
arn=self.arn,
|
|
2560
|
+
code_size=self.code_size,
|
|
2561
|
+
signing_profile_version_arn=self.signing_profile_version_arn,
|
|
2562
|
+
signing_job_arn=self.signing_job_arn,
|
|
2563
|
+
)
|
|
2564
|
+
|
|
2565
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
2566
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
2567
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
2568
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
2569
|
+
|
|
2570
|
+
def __eq__(self, other):
|
|
2571
|
+
if self is other:
|
|
2572
|
+
return True
|
|
2573
|
+
if self.__class__ is not other.__class__:
|
|
2574
|
+
return NotImplemented
|
|
2575
|
+
return (
|
|
2576
|
+
self.arn == other.arn and
|
|
2577
|
+
self.code_size == other.code_size and
|
|
2578
|
+
self.signing_profile_version_arn == other.signing_profile_version_arn and
|
|
2579
|
+
self.signing_job_arn == other.signing_job_arn
|
|
2580
|
+
)
|
|
2581
|
+
|
|
2582
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
2583
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
2584
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
2585
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
2586
|
+
|
|
2587
|
+
__dataclass___setattr_frozen_fields = {
|
|
2588
|
+
'__shape__',
|
|
2589
|
+
'arn',
|
|
2590
|
+
'code_size',
|
|
2591
|
+
'signing_profile_version_arn',
|
|
2592
|
+
'signing_job_arn',
|
|
2593
|
+
}
|
|
2594
|
+
|
|
2595
|
+
def __setattr__(self, name, value):
|
|
2596
|
+
if (
|
|
2597
|
+
type(self) is __dataclass__cls
|
|
2598
|
+
or name in __dataclass___setattr_frozen_fields
|
|
2599
|
+
):
|
|
2600
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
2601
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
2602
|
+
|
|
2603
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
2604
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
2605
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
2606
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
2607
|
+
|
|
2608
|
+
__dataclass___delattr_frozen_fields = {
|
|
2609
|
+
'__shape__',
|
|
2610
|
+
'arn',
|
|
2611
|
+
'code_size',
|
|
2612
|
+
'signing_profile_version_arn',
|
|
2613
|
+
'signing_job_arn',
|
|
2614
|
+
}
|
|
2615
|
+
|
|
2616
|
+
def __delattr__(self, name):
|
|
2617
|
+
if (
|
|
2618
|
+
type(self) is __dataclass__cls
|
|
2619
|
+
or name in __dataclass___delattr_frozen_fields
|
|
2620
|
+
):
|
|
2621
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
2622
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
2623
|
+
|
|
2624
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
2625
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
2626
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
2627
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
2628
|
+
|
|
2629
|
+
def __hash__(self):
|
|
2630
|
+
return hash((
|
|
2631
|
+
self.arn,
|
|
2632
|
+
self.code_size,
|
|
2633
|
+
self.signing_profile_version_arn,
|
|
2634
|
+
self.signing_job_arn,
|
|
2635
|
+
))
|
|
2636
|
+
|
|
2637
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
2638
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
2639
|
+
|
|
2640
|
+
def __init__(
|
|
2641
|
+
self,
|
|
2642
|
+
*,
|
|
2643
|
+
arn: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
2644
|
+
code_size: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
2645
|
+
signing_profile_version_arn: __dataclass__init__fields__3__annotation = __dataclass__init__fields__3__default,
|
|
2646
|
+
signing_job_arn: __dataclass__init__fields__4__annotation = __dataclass__init__fields__4__default,
|
|
2647
|
+
) -> __dataclass__None:
|
|
2648
|
+
__dataclass__object_setattr(self, 'arn', arn)
|
|
2649
|
+
__dataclass__object_setattr(self, 'code_size', code_size)
|
|
2650
|
+
__dataclass__object_setattr(self, 'signing_profile_version_arn', signing_profile_version_arn)
|
|
2651
|
+
__dataclass__object_setattr(self, 'signing_job_arn', signing_job_arn)
|
|
2652
|
+
|
|
2653
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
2654
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
2655
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
2656
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
2657
|
+
|
|
2658
|
+
@__dataclass___recursive_repr()
|
|
2659
|
+
def __repr__(self):
|
|
2660
|
+
parts = []
|
|
2661
|
+
parts.append(f"arn={self.arn!r}")
|
|
2662
|
+
parts.append(f"code_size={self.code_size!r}")
|
|
2663
|
+
parts.append(f"signing_profile_version_arn={self.signing_profile_version_arn!r}")
|
|
2664
|
+
parts.append(f"signing_job_arn={self.signing_job_arn!r}")
|
|
2665
|
+
return (
|
|
2666
|
+
f"{self.__class__.__qualname__}("
|
|
2667
|
+
f"{', '.join(parts)}"
|
|
2668
|
+
f")"
|
|
2669
|
+
)
|
|
2670
|
+
|
|
2671
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
2672
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
2673
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
2674
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
2675
|
+
|
|
2676
|
+
return _process_dataclass
|
|
2677
|
+
|
|
2678
|
+
|
|
2679
|
+
@_register(
|
|
2680
|
+
plan_repr=(
|
|
2681
|
+
"Plans(tup=(CopyPlan(fields=('master_region', 'function_version', 'marker', 'max_items')), EqPlan(fields=('mast"
|
|
2682
|
+
"er_region', 'function_version', 'marker', 'max_items')), FrozenPlan(fields=('__shape__', 'master_region', 'fun"
|
|
2683
|
+
"ction_version', 'marker', 'max_items'), allow_dynamic_dunder_attrs=False), HashPlan(action='add', fields=('mas"
|
|
2684
|
+
"ter_region', 'function_version', 'marker', 'max_items'), cache=False), InitPlan(fields=(InitPlan.Field(name='_"
|
|
2685
|
+
"_shape__', annotation=OpRef(name='init.fields.0.annotation'), default=None, default_factory=None, init=True, o"
|
|
2686
|
+
"verride=False, field_type=FieldType.CLASS_VAR, coerce=None, validate=None, check_type=None), InitPlan.Field(na"
|
|
2687
|
+
"me='master_region', annotation=OpRef(name='init.fields.1.annotation'), default=OpRef(name='init.fields.1.defau"
|
|
2688
|
+
"lt'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=No"
|
|
2689
|
+
"ne, check_type=None), InitPlan.Field(name='function_version', annotation=OpRef(name='init.fields.2.annotation'"
|
|
2690
|
+
"), default=OpRef(name='init.fields.2.default'), default_factory=None, init=True, override=False, field_type=Fi"
|
|
2691
|
+
"eldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='marker', annotation=OpRef"
|
|
2692
|
+
"(name='init.fields.3.annotation'), default=OpRef(name='init.fields.3.default'), default_factory=None, init=Tru"
|
|
2693
|
+
"e, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field"
|
|
2694
|
+
"(name='max_items', annotation=OpRef(name='init.fields.4.annotation'), default=OpRef(name='init.fields.4.defaul"
|
|
2695
|
+
"t'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=Non"
|
|
2696
|
+
"e, check_type=None)), self_param='self', std_params=(), kw_only_params=('master_region', 'function_version', '"
|
|
2697
|
+
"marker', 'max_items'), frozen=True, slots=False, post_init_params=None, init_fns=(), validate_fns=()), ReprPla"
|
|
2698
|
+
"n(fields=(ReprPlan.Field(name='master_region', kw_only=True, fn=None), ReprPlan.Field(name='function_version',"
|
|
2699
|
+
" kw_only=True, fn=None), ReprPlan.Field(name='marker', kw_only=True, fn=None), ReprPlan.Field(name='max_items'"
|
|
2700
|
+
", kw_only=True, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
2701
|
+
),
|
|
2702
|
+
plan_repr_sha1='380cb4006162c5599b728986e1364c0bb6b53532',
|
|
2703
|
+
op_ref_idents=(
|
|
2704
|
+
'__dataclass__init__fields__1__annotation',
|
|
2705
|
+
'__dataclass__init__fields__1__default',
|
|
2706
|
+
'__dataclass__init__fields__2__annotation',
|
|
2707
|
+
'__dataclass__init__fields__2__default',
|
|
2708
|
+
'__dataclass__init__fields__3__annotation',
|
|
2709
|
+
'__dataclass__init__fields__3__default',
|
|
2710
|
+
'__dataclass__init__fields__4__annotation',
|
|
2711
|
+
'__dataclass__init__fields__4__default',
|
|
2712
|
+
),
|
|
2713
|
+
cls_names=(
|
|
2714
|
+
('ominfra.clouds.aws.models.services.lambda_', 'ListFunctionsRequest'),
|
|
2715
|
+
),
|
|
2716
|
+
)
|
|
2717
|
+
def _process_dataclass__380cb4006162c5599b728986e1364c0bb6b53532():
|
|
2718
|
+
def _process_dataclass(
|
|
2719
|
+
*,
|
|
2720
|
+
__dataclass__cls,
|
|
2721
|
+
__dataclass__init__fields__1__annotation,
|
|
2722
|
+
__dataclass__init__fields__1__default,
|
|
2723
|
+
__dataclass__init__fields__2__annotation,
|
|
2724
|
+
__dataclass__init__fields__2__default,
|
|
2725
|
+
__dataclass__init__fields__3__annotation,
|
|
2726
|
+
__dataclass__init__fields__3__default,
|
|
2727
|
+
__dataclass__init__fields__4__annotation,
|
|
2728
|
+
__dataclass__init__fields__4__default,
|
|
2729
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
2730
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
2731
|
+
__dataclass__FnValidationError, # noqa
|
|
2732
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
2733
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
2734
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
2735
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
2736
|
+
__dataclass__None=None, # noqa
|
|
2737
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
2738
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
2739
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
2740
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
2741
|
+
__dataclass__property=property, # noqa
|
|
2742
|
+
):
|
|
2743
|
+
def __copy__(self):
|
|
2744
|
+
if self.__class__ is not __dataclass__cls:
|
|
2745
|
+
raise TypeError(self)
|
|
2746
|
+
return __dataclass__cls( # noqa
|
|
2747
|
+
master_region=self.master_region,
|
|
2748
|
+
function_version=self.function_version,
|
|
2749
|
+
marker=self.marker,
|
|
2750
|
+
max_items=self.max_items,
|
|
2751
|
+
)
|
|
2752
|
+
|
|
2753
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
2754
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
2755
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
2756
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
2757
|
+
|
|
2758
|
+
def __eq__(self, other):
|
|
2759
|
+
if self is other:
|
|
2760
|
+
return True
|
|
2761
|
+
if self.__class__ is not other.__class__:
|
|
2762
|
+
return NotImplemented
|
|
2763
|
+
return (
|
|
2764
|
+
self.master_region == other.master_region and
|
|
2765
|
+
self.function_version == other.function_version and
|
|
2766
|
+
self.marker == other.marker and
|
|
2767
|
+
self.max_items == other.max_items
|
|
2768
|
+
)
|
|
2769
|
+
|
|
2770
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
2771
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
2772
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
2773
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
2774
|
+
|
|
2775
|
+
__dataclass___setattr_frozen_fields = {
|
|
2776
|
+
'__shape__',
|
|
2777
|
+
'master_region',
|
|
2778
|
+
'function_version',
|
|
2779
|
+
'marker',
|
|
2780
|
+
'max_items',
|
|
2781
|
+
}
|
|
2782
|
+
|
|
2783
|
+
def __setattr__(self, name, value):
|
|
2784
|
+
if (
|
|
2785
|
+
type(self) is __dataclass__cls
|
|
2786
|
+
or name in __dataclass___setattr_frozen_fields
|
|
2787
|
+
):
|
|
2788
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
2789
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
2790
|
+
|
|
2791
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
2792
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
2793
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
2794
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
2795
|
+
|
|
2796
|
+
__dataclass___delattr_frozen_fields = {
|
|
2797
|
+
'__shape__',
|
|
2798
|
+
'master_region',
|
|
2799
|
+
'function_version',
|
|
2800
|
+
'marker',
|
|
2801
|
+
'max_items',
|
|
2802
|
+
}
|
|
2803
|
+
|
|
2804
|
+
def __delattr__(self, name):
|
|
2805
|
+
if (
|
|
2806
|
+
type(self) is __dataclass__cls
|
|
2807
|
+
or name in __dataclass___delattr_frozen_fields
|
|
2808
|
+
):
|
|
2809
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
2810
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
2811
|
+
|
|
2812
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
2813
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
2814
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
2815
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
2816
|
+
|
|
2817
|
+
def __hash__(self):
|
|
2818
|
+
return hash((
|
|
2819
|
+
self.master_region,
|
|
2820
|
+
self.function_version,
|
|
2821
|
+
self.marker,
|
|
2822
|
+
self.max_items,
|
|
2823
|
+
))
|
|
2824
|
+
|
|
2825
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
2826
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
2827
|
+
|
|
2828
|
+
def __init__(
|
|
2829
|
+
self,
|
|
2830
|
+
*,
|
|
2831
|
+
master_region: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
2832
|
+
function_version: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
2833
|
+
marker: __dataclass__init__fields__3__annotation = __dataclass__init__fields__3__default,
|
|
2834
|
+
max_items: __dataclass__init__fields__4__annotation = __dataclass__init__fields__4__default,
|
|
2835
|
+
) -> __dataclass__None:
|
|
2836
|
+
__dataclass__object_setattr(self, 'master_region', master_region)
|
|
2837
|
+
__dataclass__object_setattr(self, 'function_version', function_version)
|
|
2838
|
+
__dataclass__object_setattr(self, 'marker', marker)
|
|
2839
|
+
__dataclass__object_setattr(self, 'max_items', max_items)
|
|
2840
|
+
|
|
2841
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
2842
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
2843
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
2844
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
2845
|
+
|
|
2846
|
+
@__dataclass___recursive_repr()
|
|
2847
|
+
def __repr__(self):
|
|
2848
|
+
parts = []
|
|
2849
|
+
parts.append(f"master_region={self.master_region!r}")
|
|
2850
|
+
parts.append(f"function_version={self.function_version!r}")
|
|
2851
|
+
parts.append(f"marker={self.marker!r}")
|
|
2852
|
+
parts.append(f"max_items={self.max_items!r}")
|
|
2853
|
+
return (
|
|
2854
|
+
f"{self.__class__.__qualname__}("
|
|
2855
|
+
f"{', '.join(parts)}"
|
|
2856
|
+
f")"
|
|
2857
|
+
)
|
|
2858
|
+
|
|
2859
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
2860
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
2861
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
2862
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
2863
|
+
|
|
2864
|
+
return _process_dataclass
|
|
2865
|
+
|
|
2866
|
+
|
|
2867
|
+
@_register(
|
|
2868
|
+
plan_repr=(
|
|
2869
|
+
"Plans(tup=(CopyPlan(fields=('next_marker', 'functions')), EqPlan(fields=('next_marker', 'functions')), FrozenP"
|
|
2870
|
+
"lan(fields=('__shape__', 'next_marker', 'functions'), allow_dynamic_dunder_attrs=False), HashPlan(action='add'"
|
|
2871
|
+
", fields=('next_marker', 'functions'), cache=False), InitPlan(fields=(InitPlan.Field(name='__shape__', annotat"
|
|
2872
|
+
"ion=OpRef(name='init.fields.0.annotation'), default=None, default_factory=None, init=True, override=False, fie"
|
|
2873
|
+
"ld_type=FieldType.CLASS_VAR, coerce=None, validate=None, check_type=None), InitPlan.Field(name='next_marker', "
|
|
2874
|
+
"annotation=OpRef(name='init.fields.1.annotation'), default=OpRef(name='init.fields.1.default'), default_factor"
|
|
2875
|
+
"y=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)"
|
|
2876
|
+
", InitPlan.Field(name='functions', annotation=OpRef(name='init.fields.2.annotation'), default=OpRef(name='init"
|
|
2877
|
+
".fields.2.default'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=No"
|
|
2878
|
+
"ne, validate=None, check_type=None)), self_param='self', std_params=(), kw_only_params=('next_marker', 'functi"
|
|
2879
|
+
"ons'), frozen=True, slots=False, post_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPl"
|
|
2880
|
+
"an.Field(name='next_marker', kw_only=True, fn=None), ReprPlan.Field(name='functions', kw_only=True, fn=None)),"
|
|
2881
|
+
" id=False, terse=False, default_fn=None)))"
|
|
2882
|
+
),
|
|
2883
|
+
plan_repr_sha1='eadc397a64213fa413966469ed9bbbd79b79aa63',
|
|
2884
|
+
op_ref_idents=(
|
|
2885
|
+
'__dataclass__init__fields__1__annotation',
|
|
2886
|
+
'__dataclass__init__fields__1__default',
|
|
2887
|
+
'__dataclass__init__fields__2__annotation',
|
|
2888
|
+
'__dataclass__init__fields__2__default',
|
|
2889
|
+
),
|
|
2890
|
+
cls_names=(
|
|
2891
|
+
('ominfra.clouds.aws.models.services.lambda_', 'ListFunctionsResponse'),
|
|
2892
|
+
),
|
|
2893
|
+
)
|
|
2894
|
+
def _process_dataclass__eadc397a64213fa413966469ed9bbbd79b79aa63():
|
|
2895
|
+
def _process_dataclass(
|
|
2896
|
+
*,
|
|
2897
|
+
__dataclass__cls,
|
|
2898
|
+
__dataclass__init__fields__1__annotation,
|
|
2899
|
+
__dataclass__init__fields__1__default,
|
|
2900
|
+
__dataclass__init__fields__2__annotation,
|
|
2901
|
+
__dataclass__init__fields__2__default,
|
|
2902
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
2903
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
2904
|
+
__dataclass__FnValidationError, # noqa
|
|
2905
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
2906
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
2907
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
2908
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
2909
|
+
__dataclass__None=None, # noqa
|
|
2910
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
2911
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
2912
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
2913
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
2914
|
+
__dataclass__property=property, # noqa
|
|
2915
|
+
):
|
|
2916
|
+
def __copy__(self):
|
|
2917
|
+
if self.__class__ is not __dataclass__cls:
|
|
2918
|
+
raise TypeError(self)
|
|
2919
|
+
return __dataclass__cls( # noqa
|
|
2920
|
+
next_marker=self.next_marker,
|
|
2921
|
+
functions=self.functions,
|
|
2922
|
+
)
|
|
2923
|
+
|
|
2924
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
2925
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
2926
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
2927
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
2928
|
+
|
|
2929
|
+
def __eq__(self, other):
|
|
2930
|
+
if self is other:
|
|
2931
|
+
return True
|
|
2932
|
+
if self.__class__ is not other.__class__:
|
|
2933
|
+
return NotImplemented
|
|
2934
|
+
return (
|
|
2935
|
+
self.next_marker == other.next_marker and
|
|
2936
|
+
self.functions == other.functions
|
|
2937
|
+
)
|
|
2938
|
+
|
|
2939
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
2940
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
2941
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
2942
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
2943
|
+
|
|
2944
|
+
__dataclass___setattr_frozen_fields = {
|
|
2945
|
+
'__shape__',
|
|
2946
|
+
'next_marker',
|
|
2947
|
+
'functions',
|
|
2948
|
+
}
|
|
2949
|
+
|
|
2950
|
+
def __setattr__(self, name, value):
|
|
2951
|
+
if (
|
|
2952
|
+
type(self) is __dataclass__cls
|
|
2953
|
+
or name in __dataclass___setattr_frozen_fields
|
|
2954
|
+
):
|
|
2955
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
2956
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
2957
|
+
|
|
2958
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
2959
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
2960
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
2961
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
2962
|
+
|
|
2963
|
+
__dataclass___delattr_frozen_fields = {
|
|
2964
|
+
'__shape__',
|
|
2965
|
+
'next_marker',
|
|
2966
|
+
'functions',
|
|
2967
|
+
}
|
|
2968
|
+
|
|
2969
|
+
def __delattr__(self, name):
|
|
2970
|
+
if (
|
|
2971
|
+
type(self) is __dataclass__cls
|
|
2972
|
+
or name in __dataclass___delattr_frozen_fields
|
|
2973
|
+
):
|
|
2974
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
2975
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
2976
|
+
|
|
2977
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
2978
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
2979
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
2980
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
2981
|
+
|
|
2982
|
+
def __hash__(self):
|
|
2983
|
+
return hash((
|
|
2984
|
+
self.next_marker,
|
|
2985
|
+
self.functions,
|
|
2986
|
+
))
|
|
2987
|
+
|
|
2988
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
2989
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
2990
|
+
|
|
2991
|
+
def __init__(
|
|
2992
|
+
self,
|
|
2993
|
+
*,
|
|
2994
|
+
next_marker: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
2995
|
+
functions: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
2996
|
+
) -> __dataclass__None:
|
|
2997
|
+
__dataclass__object_setattr(self, 'next_marker', next_marker)
|
|
2998
|
+
__dataclass__object_setattr(self, 'functions', functions)
|
|
2999
|
+
|
|
3000
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
3001
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
3002
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
3003
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
3004
|
+
|
|
3005
|
+
@__dataclass___recursive_repr()
|
|
3006
|
+
def __repr__(self):
|
|
3007
|
+
parts = []
|
|
3008
|
+
parts.append(f"next_marker={self.next_marker!r}")
|
|
3009
|
+
parts.append(f"functions={self.functions!r}")
|
|
3010
|
+
return (
|
|
3011
|
+
f"{self.__class__.__qualname__}("
|
|
3012
|
+
f"{', '.join(parts)}"
|
|
3013
|
+
f")"
|
|
3014
|
+
)
|
|
3015
|
+
|
|
3016
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
3017
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
3018
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
3019
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
3020
|
+
|
|
3021
|
+
return _process_dataclass
|
|
3022
|
+
|
|
3023
|
+
|
|
3024
|
+
@_register(
|
|
3025
|
+
plan_repr=(
|
|
3026
|
+
"Plans(tup=(CopyPlan(fields=('log_format', 'application_log_level', 'system_log_level', 'log_group')), EqPlan(f"
|
|
3027
|
+
"ields=('log_format', 'application_log_level', 'system_log_level', 'log_group')), FrozenPlan(fields=('__shape__"
|
|
3028
|
+
"', 'log_format', 'application_log_level', 'system_log_level', 'log_group'), allow_dynamic_dunder_attrs=False),"
|
|
3029
|
+
" HashPlan(action='add', fields=('log_format', 'application_log_level', 'system_log_level', 'log_group'), cache"
|
|
3030
|
+
"=False), InitPlan(fields=(InitPlan.Field(name='__shape__', annotation=OpRef(name='init.fields.0.annotation'), "
|
|
3031
|
+
"default=None, default_factory=None, init=True, override=False, field_type=FieldType.CLASS_VAR, coerce=None, va"
|
|
3032
|
+
"lidate=None, check_type=None), InitPlan.Field(name='log_format', annotation=OpRef(name='init.fields.1.annotati"
|
|
3033
|
+
"on'), default=OpRef(name='init.fields.1.default'), default_factory=None, init=True, override=False, field_type"
|
|
3034
|
+
"=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='application_log_level'"
|
|
3035
|
+
", annotation=OpRef(name='init.fields.2.annotation'), default=OpRef(name='init.fields.2.default'), default_fact"
|
|
3036
|
+
"ory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=Non"
|
|
3037
|
+
"e), InitPlan.Field(name='system_log_level', annotation=OpRef(name='init.fields.3.annotation'), default=OpRef(n"
|
|
3038
|
+
"ame='init.fields.3.default'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, "
|
|
3039
|
+
"coerce=None, validate=None, check_type=None), InitPlan.Field(name='log_group', annotation=OpRef(name='init.fie"
|
|
3040
|
+
"lds.4.annotation'), default=OpRef(name='init.fields.4.default'), default_factory=None, init=True, override=Fal"
|
|
3041
|
+
"se, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)), self_param='self', std_param"
|
|
3042
|
+
"s=(), kw_only_params=('log_format', 'application_log_level', 'system_log_level', 'log_group'), frozen=True, sl"
|
|
3043
|
+
"ots=False, post_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='log_for"
|
|
3044
|
+
"mat', kw_only=True, fn=None), ReprPlan.Field(name='application_log_level', kw_only=True, fn=None), ReprPlan.Fi"
|
|
3045
|
+
"eld(name='system_log_level', kw_only=True, fn=None), ReprPlan.Field(name='log_group', kw_only=True, fn=None)),"
|
|
3046
|
+
" id=False, terse=False, default_fn=None)))"
|
|
3047
|
+
),
|
|
3048
|
+
plan_repr_sha1='3789e83e8304a69b04615c05af44097dc01b657f',
|
|
3049
|
+
op_ref_idents=(
|
|
3050
|
+
'__dataclass__init__fields__1__annotation',
|
|
3051
|
+
'__dataclass__init__fields__1__default',
|
|
3052
|
+
'__dataclass__init__fields__2__annotation',
|
|
3053
|
+
'__dataclass__init__fields__2__default',
|
|
3054
|
+
'__dataclass__init__fields__3__annotation',
|
|
3055
|
+
'__dataclass__init__fields__3__default',
|
|
3056
|
+
'__dataclass__init__fields__4__annotation',
|
|
3057
|
+
'__dataclass__init__fields__4__default',
|
|
3058
|
+
),
|
|
3059
|
+
cls_names=(
|
|
3060
|
+
('ominfra.clouds.aws.models.services.lambda_', 'LoggingConfig'),
|
|
3061
|
+
),
|
|
3062
|
+
)
|
|
3063
|
+
def _process_dataclass__3789e83e8304a69b04615c05af44097dc01b657f():
|
|
3064
|
+
def _process_dataclass(
|
|
3065
|
+
*,
|
|
3066
|
+
__dataclass__cls,
|
|
3067
|
+
__dataclass__init__fields__1__annotation,
|
|
3068
|
+
__dataclass__init__fields__1__default,
|
|
3069
|
+
__dataclass__init__fields__2__annotation,
|
|
3070
|
+
__dataclass__init__fields__2__default,
|
|
3071
|
+
__dataclass__init__fields__3__annotation,
|
|
3072
|
+
__dataclass__init__fields__3__default,
|
|
3073
|
+
__dataclass__init__fields__4__annotation,
|
|
3074
|
+
__dataclass__init__fields__4__default,
|
|
3075
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
3076
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
3077
|
+
__dataclass__FnValidationError, # noqa
|
|
3078
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
3079
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
3080
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
3081
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
3082
|
+
__dataclass__None=None, # noqa
|
|
3083
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
3084
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
3085
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
3086
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
3087
|
+
__dataclass__property=property, # noqa
|
|
3088
|
+
):
|
|
3089
|
+
def __copy__(self):
|
|
3090
|
+
if self.__class__ is not __dataclass__cls:
|
|
3091
|
+
raise TypeError(self)
|
|
3092
|
+
return __dataclass__cls( # noqa
|
|
3093
|
+
log_format=self.log_format,
|
|
3094
|
+
application_log_level=self.application_log_level,
|
|
3095
|
+
system_log_level=self.system_log_level,
|
|
3096
|
+
log_group=self.log_group,
|
|
3097
|
+
)
|
|
3098
|
+
|
|
3099
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
3100
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
3101
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
3102
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
3103
|
+
|
|
3104
|
+
def __eq__(self, other):
|
|
3105
|
+
if self is other:
|
|
3106
|
+
return True
|
|
3107
|
+
if self.__class__ is not other.__class__:
|
|
3108
|
+
return NotImplemented
|
|
3109
|
+
return (
|
|
3110
|
+
self.log_format == other.log_format and
|
|
3111
|
+
self.application_log_level == other.application_log_level and
|
|
3112
|
+
self.system_log_level == other.system_log_level and
|
|
3113
|
+
self.log_group == other.log_group
|
|
3114
|
+
)
|
|
3115
|
+
|
|
3116
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
3117
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
3118
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
3119
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
3120
|
+
|
|
3121
|
+
__dataclass___setattr_frozen_fields = {
|
|
3122
|
+
'__shape__',
|
|
3123
|
+
'log_format',
|
|
3124
|
+
'application_log_level',
|
|
3125
|
+
'system_log_level',
|
|
3126
|
+
'log_group',
|
|
3127
|
+
}
|
|
3128
|
+
|
|
3129
|
+
def __setattr__(self, name, value):
|
|
3130
|
+
if (
|
|
3131
|
+
type(self) is __dataclass__cls
|
|
3132
|
+
or name in __dataclass___setattr_frozen_fields
|
|
3133
|
+
):
|
|
3134
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
3135
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
3136
|
+
|
|
3137
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
3138
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
3139
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
3140
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
3141
|
+
|
|
3142
|
+
__dataclass___delattr_frozen_fields = {
|
|
3143
|
+
'__shape__',
|
|
3144
|
+
'log_format',
|
|
3145
|
+
'application_log_level',
|
|
3146
|
+
'system_log_level',
|
|
3147
|
+
'log_group',
|
|
3148
|
+
}
|
|
3149
|
+
|
|
3150
|
+
def __delattr__(self, name):
|
|
3151
|
+
if (
|
|
3152
|
+
type(self) is __dataclass__cls
|
|
3153
|
+
or name in __dataclass___delattr_frozen_fields
|
|
3154
|
+
):
|
|
3155
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
3156
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
3157
|
+
|
|
3158
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
3159
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
3160
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
3161
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
3162
|
+
|
|
3163
|
+
def __hash__(self):
|
|
3164
|
+
return hash((
|
|
3165
|
+
self.log_format,
|
|
3166
|
+
self.application_log_level,
|
|
3167
|
+
self.system_log_level,
|
|
3168
|
+
self.log_group,
|
|
3169
|
+
))
|
|
3170
|
+
|
|
3171
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
3172
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
3173
|
+
|
|
3174
|
+
def __init__(
|
|
3175
|
+
self,
|
|
3176
|
+
*,
|
|
3177
|
+
log_format: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
3178
|
+
application_log_level: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
3179
|
+
system_log_level: __dataclass__init__fields__3__annotation = __dataclass__init__fields__3__default,
|
|
3180
|
+
log_group: __dataclass__init__fields__4__annotation = __dataclass__init__fields__4__default,
|
|
3181
|
+
) -> __dataclass__None:
|
|
3182
|
+
__dataclass__object_setattr(self, 'log_format', log_format)
|
|
3183
|
+
__dataclass__object_setattr(self, 'application_log_level', application_log_level)
|
|
3184
|
+
__dataclass__object_setattr(self, 'system_log_level', system_log_level)
|
|
3185
|
+
__dataclass__object_setattr(self, 'log_group', log_group)
|
|
3186
|
+
|
|
3187
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
3188
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
3189
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
3190
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
3191
|
+
|
|
3192
|
+
@__dataclass___recursive_repr()
|
|
3193
|
+
def __repr__(self):
|
|
3194
|
+
parts = []
|
|
3195
|
+
parts.append(f"log_format={self.log_format!r}")
|
|
3196
|
+
parts.append(f"application_log_level={self.application_log_level!r}")
|
|
3197
|
+
parts.append(f"system_log_level={self.system_log_level!r}")
|
|
3198
|
+
parts.append(f"log_group={self.log_group!r}")
|
|
3199
|
+
return (
|
|
3200
|
+
f"{self.__class__.__qualname__}("
|
|
3201
|
+
f"{', '.join(parts)}"
|
|
3202
|
+
f")"
|
|
3203
|
+
)
|
|
3204
|
+
|
|
3205
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
3206
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
3207
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
3208
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
3209
|
+
|
|
3210
|
+
return _process_dataclass
|
|
3211
|
+
|
|
3212
|
+
|
|
3213
|
+
@_register(
|
|
3214
|
+
plan_repr=(
|
|
3215
|
+
"Plans(tup=(CopyPlan(fields=('runtime_version_arn', 'error')), EqPlan(fields=('runtime_version_arn', 'error')),"
|
|
3216
|
+
" FrozenPlan(fields=('__shape__', 'runtime_version_arn', 'error'), allow_dynamic_dunder_attrs=False), HashPlan("
|
|
3217
|
+
"action='add', fields=('runtime_version_arn', 'error'), cache=False), InitPlan(fields=(InitPlan.Field(name='__s"
|
|
3218
|
+
"hape__', annotation=OpRef(name='init.fields.0.annotation'), default=None, default_factory=None, init=True, ove"
|
|
3219
|
+
"rride=False, field_type=FieldType.CLASS_VAR, coerce=None, validate=None, check_type=None), InitPlan.Field(name"
|
|
3220
|
+
"='runtime_version_arn', annotation=OpRef(name='init.fields.1.annotation'), default=OpRef(name='init.fields.1.d"
|
|
3221
|
+
"efault'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validat"
|
|
3222
|
+
"e=None, check_type=None), InitPlan.Field(name='error', annotation=OpRef(name='init.fields.2.annotation'), defa"
|
|
3223
|
+
"ult=OpRef(name='init.fields.2.default'), default_factory=None, init=True, override=False, field_type=FieldType"
|
|
3224
|
+
".INSTANCE, coerce=None, validate=None, check_type=None)), self_param='self', std_params=(), kw_only_params=('r"
|
|
3225
|
+
"untime_version_arn', 'error'), frozen=True, slots=False, post_init_params=None, init_fns=(), validate_fns=()),"
|
|
3226
|
+
" ReprPlan(fields=(ReprPlan.Field(name='runtime_version_arn', kw_only=True, fn=None), ReprPlan.Field(name='erro"
|
|
3227
|
+
"r', kw_only=True, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
3228
|
+
),
|
|
3229
|
+
plan_repr_sha1='f7b1a123934c098577316105a6d2620d7d9e6557',
|
|
3230
|
+
op_ref_idents=(
|
|
3231
|
+
'__dataclass__init__fields__1__annotation',
|
|
3232
|
+
'__dataclass__init__fields__1__default',
|
|
3233
|
+
'__dataclass__init__fields__2__annotation',
|
|
3234
|
+
'__dataclass__init__fields__2__default',
|
|
3235
|
+
),
|
|
3236
|
+
cls_names=(
|
|
3237
|
+
('ominfra.clouds.aws.models.services.lambda_', 'RuntimeVersionConfig'),
|
|
3238
|
+
),
|
|
3239
|
+
)
|
|
3240
|
+
def _process_dataclass__f7b1a123934c098577316105a6d2620d7d9e6557():
|
|
3241
|
+
def _process_dataclass(
|
|
3242
|
+
*,
|
|
3243
|
+
__dataclass__cls,
|
|
3244
|
+
__dataclass__init__fields__1__annotation,
|
|
3245
|
+
__dataclass__init__fields__1__default,
|
|
3246
|
+
__dataclass__init__fields__2__annotation,
|
|
3247
|
+
__dataclass__init__fields__2__default,
|
|
3248
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
3249
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
3250
|
+
__dataclass__FnValidationError, # noqa
|
|
3251
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
3252
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
3253
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
3254
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
3255
|
+
__dataclass__None=None, # noqa
|
|
3256
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
3257
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
3258
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
3259
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
3260
|
+
__dataclass__property=property, # noqa
|
|
3261
|
+
):
|
|
3262
|
+
def __copy__(self):
|
|
3263
|
+
if self.__class__ is not __dataclass__cls:
|
|
3264
|
+
raise TypeError(self)
|
|
3265
|
+
return __dataclass__cls( # noqa
|
|
3266
|
+
runtime_version_arn=self.runtime_version_arn,
|
|
3267
|
+
error=self.error,
|
|
3268
|
+
)
|
|
3269
|
+
|
|
3270
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
3271
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
3272
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
3273
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
3274
|
+
|
|
3275
|
+
def __eq__(self, other):
|
|
3276
|
+
if self is other:
|
|
3277
|
+
return True
|
|
3278
|
+
if self.__class__ is not other.__class__:
|
|
3279
|
+
return NotImplemented
|
|
3280
|
+
return (
|
|
3281
|
+
self.runtime_version_arn == other.runtime_version_arn and
|
|
3282
|
+
self.error == other.error
|
|
3283
|
+
)
|
|
3284
|
+
|
|
3285
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
3286
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
3287
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
3288
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
3289
|
+
|
|
3290
|
+
__dataclass___setattr_frozen_fields = {
|
|
3291
|
+
'__shape__',
|
|
3292
|
+
'runtime_version_arn',
|
|
3293
|
+
'error',
|
|
3294
|
+
}
|
|
3295
|
+
|
|
3296
|
+
def __setattr__(self, name, value):
|
|
3297
|
+
if (
|
|
3298
|
+
type(self) is __dataclass__cls
|
|
3299
|
+
or name in __dataclass___setattr_frozen_fields
|
|
3300
|
+
):
|
|
3301
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
3302
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
3303
|
+
|
|
3304
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
3305
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
3306
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
3307
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
3308
|
+
|
|
3309
|
+
__dataclass___delattr_frozen_fields = {
|
|
3310
|
+
'__shape__',
|
|
3311
|
+
'runtime_version_arn',
|
|
3312
|
+
'error',
|
|
3313
|
+
}
|
|
3314
|
+
|
|
3315
|
+
def __delattr__(self, name):
|
|
3316
|
+
if (
|
|
3317
|
+
type(self) is __dataclass__cls
|
|
3318
|
+
or name in __dataclass___delattr_frozen_fields
|
|
3319
|
+
):
|
|
3320
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
3321
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
3322
|
+
|
|
3323
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
3324
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
3325
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
3326
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
3327
|
+
|
|
3328
|
+
def __hash__(self):
|
|
3329
|
+
return hash((
|
|
3330
|
+
self.runtime_version_arn,
|
|
3331
|
+
self.error,
|
|
3332
|
+
))
|
|
3333
|
+
|
|
3334
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
3335
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
3336
|
+
|
|
3337
|
+
def __init__(
|
|
3338
|
+
self,
|
|
3339
|
+
*,
|
|
3340
|
+
runtime_version_arn: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
3341
|
+
error: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
3342
|
+
) -> __dataclass__None:
|
|
3343
|
+
__dataclass__object_setattr(self, 'runtime_version_arn', runtime_version_arn)
|
|
3344
|
+
__dataclass__object_setattr(self, 'error', error)
|
|
3345
|
+
|
|
3346
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
3347
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
3348
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
3349
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
3350
|
+
|
|
3351
|
+
@__dataclass___recursive_repr()
|
|
3352
|
+
def __repr__(self):
|
|
3353
|
+
parts = []
|
|
3354
|
+
parts.append(f"runtime_version_arn={self.runtime_version_arn!r}")
|
|
3355
|
+
parts.append(f"error={self.error!r}")
|
|
3356
|
+
return (
|
|
3357
|
+
f"{self.__class__.__qualname__}("
|
|
3358
|
+
f"{', '.join(parts)}"
|
|
3359
|
+
f")"
|
|
3360
|
+
)
|
|
3361
|
+
|
|
3362
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
3363
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
3364
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
3365
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
3366
|
+
|
|
3367
|
+
return _process_dataclass
|
|
3368
|
+
|
|
3369
|
+
|
|
3370
|
+
@_register(
|
|
3371
|
+
plan_repr=(
|
|
3372
|
+
"Plans(tup=(CopyPlan(fields=('apply_on', 'optimization_status')), EqPlan(fields=('apply_on', 'optimization_stat"
|
|
3373
|
+
"us')), FrozenPlan(fields=('__shape__', 'apply_on', 'optimization_status'), allow_dynamic_dunder_attrs=False), "
|
|
3374
|
+
"HashPlan(action='add', fields=('apply_on', 'optimization_status'), cache=False), InitPlan(fields=(InitPlan.Fie"
|
|
3375
|
+
"ld(name='__shape__', annotation=OpRef(name='init.fields.0.annotation'), default=None, default_factory=None, in"
|
|
3376
|
+
"it=True, override=False, field_type=FieldType.CLASS_VAR, coerce=None, validate=None, check_type=None), InitPla"
|
|
3377
|
+
"n.Field(name='apply_on', annotation=OpRef(name='init.fields.1.annotation'), default=OpRef(name='init.fields.1."
|
|
3378
|
+
"default'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, valida"
|
|
3379
|
+
"te=None, check_type=None), InitPlan.Field(name='optimization_status', annotation=OpRef(name='init.fields.2.ann"
|
|
3380
|
+
"otation'), default=OpRef(name='init.fields.2.default'), default_factory=None, init=True, override=False, field"
|
|
3381
|
+
"_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)), self_param='self', std_params=(), kw_"
|
|
3382
|
+
"only_params=('apply_on', 'optimization_status'), frozen=True, slots=False, post_init_params=None, init_fns=(),"
|
|
3383
|
+
" validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='apply_on', kw_only=True, fn=None), ReprPlan.Field(nam"
|
|
3384
|
+
"e='optimization_status', kw_only=True, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
3385
|
+
),
|
|
3386
|
+
plan_repr_sha1='019cda7bb51f31d049f4fa706f3c46d80940f395',
|
|
3387
|
+
op_ref_idents=(
|
|
3388
|
+
'__dataclass__init__fields__1__annotation',
|
|
3389
|
+
'__dataclass__init__fields__1__default',
|
|
3390
|
+
'__dataclass__init__fields__2__annotation',
|
|
3391
|
+
'__dataclass__init__fields__2__default',
|
|
3392
|
+
),
|
|
3393
|
+
cls_names=(
|
|
3394
|
+
('ominfra.clouds.aws.models.services.lambda_', 'SnapStartResponse'),
|
|
3395
|
+
),
|
|
3396
|
+
)
|
|
3397
|
+
def _process_dataclass__019cda7bb51f31d049f4fa706f3c46d80940f395():
|
|
3398
|
+
def _process_dataclass(
|
|
3399
|
+
*,
|
|
3400
|
+
__dataclass__cls,
|
|
3401
|
+
__dataclass__init__fields__1__annotation,
|
|
3402
|
+
__dataclass__init__fields__1__default,
|
|
3403
|
+
__dataclass__init__fields__2__annotation,
|
|
3404
|
+
__dataclass__init__fields__2__default,
|
|
3405
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
3406
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
3407
|
+
__dataclass__FnValidationError, # noqa
|
|
3408
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
3409
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
3410
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
3411
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
3412
|
+
__dataclass__None=None, # noqa
|
|
3413
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
3414
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
3415
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
3416
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
3417
|
+
__dataclass__property=property, # noqa
|
|
3418
|
+
):
|
|
3419
|
+
def __copy__(self):
|
|
3420
|
+
if self.__class__ is not __dataclass__cls:
|
|
3421
|
+
raise TypeError(self)
|
|
3422
|
+
return __dataclass__cls( # noqa
|
|
3423
|
+
apply_on=self.apply_on,
|
|
3424
|
+
optimization_status=self.optimization_status,
|
|
3425
|
+
)
|
|
3426
|
+
|
|
3427
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
3428
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
3429
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
3430
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
3431
|
+
|
|
3432
|
+
def __eq__(self, other):
|
|
3433
|
+
if self is other:
|
|
3434
|
+
return True
|
|
3435
|
+
if self.__class__ is not other.__class__:
|
|
3436
|
+
return NotImplemented
|
|
3437
|
+
return (
|
|
3438
|
+
self.apply_on == other.apply_on and
|
|
3439
|
+
self.optimization_status == other.optimization_status
|
|
3440
|
+
)
|
|
3441
|
+
|
|
3442
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
3443
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
3444
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
3445
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
3446
|
+
|
|
3447
|
+
__dataclass___setattr_frozen_fields = {
|
|
3448
|
+
'__shape__',
|
|
3449
|
+
'apply_on',
|
|
3450
|
+
'optimization_status',
|
|
3451
|
+
}
|
|
3452
|
+
|
|
3453
|
+
def __setattr__(self, name, value):
|
|
3454
|
+
if (
|
|
3455
|
+
type(self) is __dataclass__cls
|
|
3456
|
+
or name in __dataclass___setattr_frozen_fields
|
|
3457
|
+
):
|
|
3458
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
3459
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
3460
|
+
|
|
3461
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
3462
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
3463
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
3464
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
3465
|
+
|
|
3466
|
+
__dataclass___delattr_frozen_fields = {
|
|
3467
|
+
'__shape__',
|
|
3468
|
+
'apply_on',
|
|
3469
|
+
'optimization_status',
|
|
3470
|
+
}
|
|
3471
|
+
|
|
3472
|
+
def __delattr__(self, name):
|
|
3473
|
+
if (
|
|
3474
|
+
type(self) is __dataclass__cls
|
|
3475
|
+
or name in __dataclass___delattr_frozen_fields
|
|
3476
|
+
):
|
|
3477
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
3478
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
3479
|
+
|
|
3480
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
3481
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
3482
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
3483
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
3484
|
+
|
|
3485
|
+
def __hash__(self):
|
|
3486
|
+
return hash((
|
|
3487
|
+
self.apply_on,
|
|
3488
|
+
self.optimization_status,
|
|
3489
|
+
))
|
|
3490
|
+
|
|
3491
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
3492
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
3493
|
+
|
|
3494
|
+
def __init__(
|
|
3495
|
+
self,
|
|
3496
|
+
*,
|
|
3497
|
+
apply_on: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
3498
|
+
optimization_status: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
3499
|
+
) -> __dataclass__None:
|
|
3500
|
+
__dataclass__object_setattr(self, 'apply_on', apply_on)
|
|
3501
|
+
__dataclass__object_setattr(self, 'optimization_status', optimization_status)
|
|
3502
|
+
|
|
3503
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
3504
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
3505
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
3506
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
3507
|
+
|
|
3508
|
+
@__dataclass___recursive_repr()
|
|
3509
|
+
def __repr__(self):
|
|
3510
|
+
parts = []
|
|
3511
|
+
parts.append(f"apply_on={self.apply_on!r}")
|
|
3512
|
+
parts.append(f"optimization_status={self.optimization_status!r}")
|
|
3513
|
+
return (
|
|
3514
|
+
f"{self.__class__.__qualname__}("
|
|
3515
|
+
f"{', '.join(parts)}"
|
|
3516
|
+
f")"
|
|
3517
|
+
)
|
|
3518
|
+
|
|
3519
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
3520
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
3521
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
3522
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
3523
|
+
|
|
3524
|
+
return _process_dataclass
|
|
3525
|
+
|
|
3526
|
+
|
|
3527
|
+
@_register(
|
|
3528
|
+
plan_repr=(
|
|
3529
|
+
"Plans(tup=(CopyPlan(fields=('tenant_isolation_mode',)), EqPlan(fields=('tenant_isolation_mode',)), FrozenPlan("
|
|
3530
|
+
"fields=('__shape__', 'tenant_isolation_mode'), allow_dynamic_dunder_attrs=False), HashPlan(action='add', field"
|
|
3531
|
+
"s=('tenant_isolation_mode',), cache=False), InitPlan(fields=(InitPlan.Field(name='__shape__', annotation=OpRef"
|
|
3532
|
+
"(name='init.fields.0.annotation'), default=None, default_factory=None, init=True, override=False, field_type=F"
|
|
3533
|
+
"ieldType.CLASS_VAR, coerce=None, validate=None, check_type=None), InitPlan.Field(name='tenant_isolation_mode',"
|
|
3534
|
+
" annotation=OpRef(name='init.fields.1.annotation'), default=None, default_factory=None, init=True, override=Fa"
|
|
3535
|
+
"lse, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)), self_param='self', std_para"
|
|
3536
|
+
"ms=(), kw_only_params=('tenant_isolation_mode',), frozen=True, slots=False, post_init_params=None, init_fns=()"
|
|
3537
|
+
", validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='tenant_isolation_mode', kw_only=True, fn=None),), id"
|
|
3538
|
+
"=False, terse=False, default_fn=None)))"
|
|
3539
|
+
),
|
|
3540
|
+
plan_repr_sha1='acba8e67f2ea6e7d9058cd7cead360bc0a73cf1a',
|
|
3541
|
+
op_ref_idents=(
|
|
3542
|
+
'__dataclass__init__fields__1__annotation',
|
|
3543
|
+
),
|
|
3544
|
+
cls_names=(
|
|
3545
|
+
('ominfra.clouds.aws.models.services.lambda_', 'TenancyConfig'),
|
|
3546
|
+
),
|
|
3547
|
+
)
|
|
3548
|
+
def _process_dataclass__acba8e67f2ea6e7d9058cd7cead360bc0a73cf1a():
|
|
3549
|
+
def _process_dataclass(
|
|
3550
|
+
*,
|
|
3551
|
+
__dataclass__cls,
|
|
3552
|
+
__dataclass__init__fields__1__annotation,
|
|
3553
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
3554
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
3555
|
+
__dataclass__FnValidationError, # noqa
|
|
3556
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
3557
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
3558
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
3559
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
3560
|
+
__dataclass__None=None, # noqa
|
|
3561
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
3562
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
3563
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
3564
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
3565
|
+
__dataclass__property=property, # noqa
|
|
3566
|
+
):
|
|
3567
|
+
def __copy__(self):
|
|
3568
|
+
if self.__class__ is not __dataclass__cls:
|
|
3569
|
+
raise TypeError(self)
|
|
3570
|
+
return __dataclass__cls( # noqa
|
|
3571
|
+
tenant_isolation_mode=self.tenant_isolation_mode,
|
|
3572
|
+
)
|
|
3573
|
+
|
|
3574
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
3575
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
3576
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
3577
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
3578
|
+
|
|
3579
|
+
def __eq__(self, other):
|
|
3580
|
+
if self is other:
|
|
3581
|
+
return True
|
|
3582
|
+
if self.__class__ is not other.__class__:
|
|
3583
|
+
return NotImplemented
|
|
3584
|
+
return (
|
|
3585
|
+
self.tenant_isolation_mode == other.tenant_isolation_mode
|
|
3586
|
+
)
|
|
3587
|
+
|
|
3588
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
3589
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
3590
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
3591
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
3592
|
+
|
|
3593
|
+
__dataclass___setattr_frozen_fields = {
|
|
3594
|
+
'__shape__',
|
|
3595
|
+
'tenant_isolation_mode',
|
|
3596
|
+
}
|
|
3597
|
+
|
|
3598
|
+
def __setattr__(self, name, value):
|
|
3599
|
+
if (
|
|
3600
|
+
type(self) is __dataclass__cls
|
|
3601
|
+
or name in __dataclass___setattr_frozen_fields
|
|
3602
|
+
):
|
|
3603
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
3604
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
3605
|
+
|
|
3606
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
3607
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
3608
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
3609
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
3610
|
+
|
|
3611
|
+
__dataclass___delattr_frozen_fields = {
|
|
3612
|
+
'__shape__',
|
|
3613
|
+
'tenant_isolation_mode',
|
|
3614
|
+
}
|
|
3615
|
+
|
|
3616
|
+
def __delattr__(self, name):
|
|
3617
|
+
if (
|
|
3618
|
+
type(self) is __dataclass__cls
|
|
3619
|
+
or name in __dataclass___delattr_frozen_fields
|
|
3620
|
+
):
|
|
3621
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
3622
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
3623
|
+
|
|
3624
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
3625
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
3626
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
3627
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
3628
|
+
|
|
3629
|
+
def __hash__(self):
|
|
3630
|
+
return hash((
|
|
3631
|
+
self.tenant_isolation_mode,
|
|
3632
|
+
))
|
|
3633
|
+
|
|
3634
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
3635
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
3636
|
+
|
|
3637
|
+
def __init__(
|
|
3638
|
+
self,
|
|
3639
|
+
*,
|
|
3640
|
+
tenant_isolation_mode: __dataclass__init__fields__1__annotation,
|
|
3641
|
+
) -> __dataclass__None:
|
|
3642
|
+
__dataclass__object_setattr(self, 'tenant_isolation_mode', tenant_isolation_mode)
|
|
3643
|
+
|
|
3644
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
3645
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
3646
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
3647
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
3648
|
+
|
|
3649
|
+
@__dataclass___recursive_repr()
|
|
3650
|
+
def __repr__(self):
|
|
3651
|
+
parts = []
|
|
3652
|
+
parts.append(f"tenant_isolation_mode={self.tenant_isolation_mode!r}")
|
|
3653
|
+
return (
|
|
3654
|
+
f"{self.__class__.__qualname__}("
|
|
3655
|
+
f"{', '.join(parts)}"
|
|
3656
|
+
f")"
|
|
3657
|
+
)
|
|
3658
|
+
|
|
3659
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
3660
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
3661
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
3662
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
3663
|
+
|
|
3664
|
+
return _process_dataclass
|
|
3665
|
+
|
|
3666
|
+
|
|
3667
|
+
@_register(
|
|
3668
|
+
plan_repr=(
|
|
3669
|
+
"Plans(tup=(CopyPlan(fields=('retry_after_seconds', 'type', 'message', 'reason')), EqPlan(fields=('retry_after_"
|
|
3670
|
+
"seconds', 'type', 'message', 'reason')), FrozenPlan(fields=('__shape__', 'retry_after_seconds', 'type', 'messa"
|
|
3671
|
+
"ge', 'reason'), allow_dynamic_dunder_attrs=False), HashPlan(action='add', fields=('retry_after_seconds', 'type"
|
|
3672
|
+
"', 'message', 'reason'), cache=False), InitPlan(fields=(InitPlan.Field(name='__shape__', annotation=OpRef(name"
|
|
3673
|
+
"='init.fields.0.annotation'), default=None, default_factory=None, init=True, override=False, field_type=FieldT"
|
|
3674
|
+
"ype.CLASS_VAR, coerce=None, validate=None, check_type=None), InitPlan.Field(name='retry_after_seconds', annota"
|
|
3675
|
+
"tion=OpRef(name='init.fields.1.annotation'), default=OpRef(name='init.fields.1.default'), default_factory=None"
|
|
3676
|
+
", init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), Init"
|
|
3677
|
+
"Plan.Field(name='type', annotation=OpRef(name='init.fields.2.annotation'), default=OpRef(name='init.fields.2.d"
|
|
3678
|
+
"efault'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validat"
|
|
3679
|
+
"e=None, check_type=None), InitPlan.Field(name='message', annotation=OpRef(name='init.fields.3.annotation'), de"
|
|
3680
|
+
"fault=OpRef(name='init.fields.3.default'), default_factory=None, init=True, override=False, field_type=FieldTy"
|
|
3681
|
+
"pe.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='reason', annotation=OpRef(name"
|
|
3682
|
+
"='init.fields.4.annotation'), default=OpRef(name='init.fields.4.default'), default_factory=None, init=True, ov"
|
|
3683
|
+
"erride=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)), self_param='self',"
|
|
3684
|
+
" std_params=(), kw_only_params=('retry_after_seconds', 'type', 'message', 'reason'), frozen=True, slots=False,"
|
|
3685
|
+
" post_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='retry_after_secon"
|
|
3686
|
+
"ds', kw_only=True, fn=None), ReprPlan.Field(name='type', kw_only=True, fn=None), ReprPlan.Field(name='message'"
|
|
3687
|
+
", kw_only=True, fn=None), ReprPlan.Field(name='reason', kw_only=True, fn=None)), id=False, terse=False, defaul"
|
|
3688
|
+
"t_fn=None)))"
|
|
3689
|
+
),
|
|
3690
|
+
plan_repr_sha1='79dadd11fd00d21c8fe99901d2f1bb38785142ff',
|
|
3691
|
+
op_ref_idents=(
|
|
3692
|
+
'__dataclass__init__fields__1__annotation',
|
|
3693
|
+
'__dataclass__init__fields__1__default',
|
|
3694
|
+
'__dataclass__init__fields__2__annotation',
|
|
3695
|
+
'__dataclass__init__fields__2__default',
|
|
3696
|
+
'__dataclass__init__fields__3__annotation',
|
|
3697
|
+
'__dataclass__init__fields__3__default',
|
|
3698
|
+
'__dataclass__init__fields__4__annotation',
|
|
3699
|
+
'__dataclass__init__fields__4__default',
|
|
3700
|
+
),
|
|
3701
|
+
cls_names=(
|
|
3702
|
+
('ominfra.clouds.aws.models.services.lambda_', 'TooManyRequestsException'),
|
|
3703
|
+
),
|
|
3704
|
+
)
|
|
3705
|
+
def _process_dataclass__79dadd11fd00d21c8fe99901d2f1bb38785142ff():
|
|
3706
|
+
def _process_dataclass(
|
|
3707
|
+
*,
|
|
3708
|
+
__dataclass__cls,
|
|
3709
|
+
__dataclass__init__fields__1__annotation,
|
|
3710
|
+
__dataclass__init__fields__1__default,
|
|
3711
|
+
__dataclass__init__fields__2__annotation,
|
|
3712
|
+
__dataclass__init__fields__2__default,
|
|
3713
|
+
__dataclass__init__fields__3__annotation,
|
|
3714
|
+
__dataclass__init__fields__3__default,
|
|
3715
|
+
__dataclass__init__fields__4__annotation,
|
|
3716
|
+
__dataclass__init__fields__4__default,
|
|
3717
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
3718
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
3719
|
+
__dataclass__FnValidationError, # noqa
|
|
3720
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
3721
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
3722
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
3723
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
3724
|
+
__dataclass__None=None, # noqa
|
|
3725
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
3726
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
3727
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
3728
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
3729
|
+
__dataclass__property=property, # noqa
|
|
3730
|
+
):
|
|
3731
|
+
def __copy__(self):
|
|
3732
|
+
if self.__class__ is not __dataclass__cls:
|
|
3733
|
+
raise TypeError(self)
|
|
3734
|
+
return __dataclass__cls( # noqa
|
|
3735
|
+
retry_after_seconds=self.retry_after_seconds,
|
|
3736
|
+
type=self.type,
|
|
3737
|
+
message=self.message,
|
|
3738
|
+
reason=self.reason,
|
|
3739
|
+
)
|
|
3740
|
+
|
|
3741
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
3742
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
3743
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
3744
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
3745
|
+
|
|
3746
|
+
def __eq__(self, other):
|
|
3747
|
+
if self is other:
|
|
3748
|
+
return True
|
|
3749
|
+
if self.__class__ is not other.__class__:
|
|
3750
|
+
return NotImplemented
|
|
3751
|
+
return (
|
|
3752
|
+
self.retry_after_seconds == other.retry_after_seconds and
|
|
3753
|
+
self.type == other.type and
|
|
3754
|
+
self.message == other.message and
|
|
3755
|
+
self.reason == other.reason
|
|
3756
|
+
)
|
|
3757
|
+
|
|
3758
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
3759
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
3760
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
3761
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
3762
|
+
|
|
3763
|
+
__dataclass___setattr_frozen_fields = {
|
|
3764
|
+
'__shape__',
|
|
3765
|
+
'retry_after_seconds',
|
|
3766
|
+
'type',
|
|
3767
|
+
'message',
|
|
3768
|
+
'reason',
|
|
3769
|
+
}
|
|
3770
|
+
|
|
3771
|
+
def __setattr__(self, name, value):
|
|
3772
|
+
if (
|
|
3773
|
+
type(self) is __dataclass__cls
|
|
3774
|
+
or name in __dataclass___setattr_frozen_fields
|
|
3775
|
+
):
|
|
3776
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
3777
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
3778
|
+
|
|
3779
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
3780
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
3781
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
3782
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
3783
|
+
|
|
3784
|
+
__dataclass___delattr_frozen_fields = {
|
|
3785
|
+
'__shape__',
|
|
3786
|
+
'retry_after_seconds',
|
|
3787
|
+
'type',
|
|
3788
|
+
'message',
|
|
3789
|
+
'reason',
|
|
3790
|
+
}
|
|
3791
|
+
|
|
3792
|
+
def __delattr__(self, name):
|
|
3793
|
+
if (
|
|
3794
|
+
type(self) is __dataclass__cls
|
|
3795
|
+
or name in __dataclass___delattr_frozen_fields
|
|
3796
|
+
):
|
|
3797
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
3798
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
3799
|
+
|
|
3800
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
3801
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
3802
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
3803
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
3804
|
+
|
|
3805
|
+
def __hash__(self):
|
|
3806
|
+
return hash((
|
|
3807
|
+
self.retry_after_seconds,
|
|
3808
|
+
self.type,
|
|
3809
|
+
self.message,
|
|
3810
|
+
self.reason,
|
|
3811
|
+
))
|
|
3812
|
+
|
|
3813
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
3814
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
3815
|
+
|
|
3816
|
+
def __init__(
|
|
3817
|
+
self,
|
|
3818
|
+
*,
|
|
3819
|
+
retry_after_seconds: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
3820
|
+
type: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
3821
|
+
message: __dataclass__init__fields__3__annotation = __dataclass__init__fields__3__default,
|
|
3822
|
+
reason: __dataclass__init__fields__4__annotation = __dataclass__init__fields__4__default,
|
|
3823
|
+
) -> __dataclass__None:
|
|
3824
|
+
__dataclass__object_setattr(self, 'retry_after_seconds', retry_after_seconds)
|
|
3825
|
+
__dataclass__object_setattr(self, 'type', type)
|
|
3826
|
+
__dataclass__object_setattr(self, 'message', message)
|
|
3827
|
+
__dataclass__object_setattr(self, 'reason', reason)
|
|
3828
|
+
|
|
3829
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
3830
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
3831
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
3832
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
3833
|
+
|
|
3834
|
+
@__dataclass___recursive_repr()
|
|
3835
|
+
def __repr__(self):
|
|
3836
|
+
parts = []
|
|
3837
|
+
parts.append(f"retry_after_seconds={self.retry_after_seconds!r}")
|
|
3838
|
+
parts.append(f"type={self.type!r}")
|
|
3839
|
+
parts.append(f"message={self.message!r}")
|
|
3840
|
+
parts.append(f"reason={self.reason!r}")
|
|
3841
|
+
return (
|
|
3842
|
+
f"{self.__class__.__qualname__}("
|
|
3843
|
+
f"{', '.join(parts)}"
|
|
3844
|
+
f")"
|
|
3845
|
+
)
|
|
3846
|
+
|
|
3847
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
3848
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
3849
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
3850
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
3851
|
+
|
|
3852
|
+
return _process_dataclass
|
|
3853
|
+
|
|
3854
|
+
|
|
3855
|
+
@_register(
|
|
3856
|
+
plan_repr=(
|
|
3857
|
+
"Plans(tup=(CopyPlan(fields=('mode',)), EqPlan(fields=('mode',)), FrozenPlan(fields=('__shape__', 'mode'), allo"
|
|
3858
|
+
"w_dynamic_dunder_attrs=False), HashPlan(action='add', fields=('mode',), cache=False), InitPlan(fields=(InitPla"
|
|
3859
|
+
"n.Field(name='__shape__', annotation=OpRef(name='init.fields.0.annotation'), default=None, default_factory=Non"
|
|
3860
|
+
"e, init=True, override=False, field_type=FieldType.CLASS_VAR, coerce=None, validate=None, check_type=None), In"
|
|
3861
|
+
"itPlan.Field(name='mode', annotation=OpRef(name='init.fields.1.annotation'), default=OpRef(name='init.fields.1"
|
|
3862
|
+
".default'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, valid"
|
|
3863
|
+
"ate=None, check_type=None)), self_param='self', std_params=(), kw_only_params=('mode',), frozen=True, slots=Fa"
|
|
3864
|
+
"lse, post_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='mode', kw_onl"
|
|
3865
|
+
"y=True, fn=None),), id=False, terse=False, default_fn=None)))"
|
|
3866
|
+
),
|
|
3867
|
+
plan_repr_sha1='3e1414118d801b3653e991849c989db02da4f8ab',
|
|
3868
|
+
op_ref_idents=(
|
|
3869
|
+
'__dataclass__init__fields__1__annotation',
|
|
3870
|
+
'__dataclass__init__fields__1__default',
|
|
3871
|
+
),
|
|
3872
|
+
cls_names=(
|
|
3873
|
+
('ominfra.clouds.aws.models.services.lambda_', 'TracingConfigResponse'),
|
|
3874
|
+
),
|
|
3875
|
+
)
|
|
3876
|
+
def _process_dataclass__3e1414118d801b3653e991849c989db02da4f8ab():
|
|
3877
|
+
def _process_dataclass(
|
|
3878
|
+
*,
|
|
3879
|
+
__dataclass__cls,
|
|
3880
|
+
__dataclass__init__fields__1__annotation,
|
|
3881
|
+
__dataclass__init__fields__1__default,
|
|
3882
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
3883
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
3884
|
+
__dataclass__FnValidationError, # noqa
|
|
3885
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
3886
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
3887
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
3888
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
3889
|
+
__dataclass__None=None, # noqa
|
|
3890
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
3891
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
3892
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
3893
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
3894
|
+
__dataclass__property=property, # noqa
|
|
3895
|
+
):
|
|
3896
|
+
def __copy__(self):
|
|
3897
|
+
if self.__class__ is not __dataclass__cls:
|
|
3898
|
+
raise TypeError(self)
|
|
3899
|
+
return __dataclass__cls( # noqa
|
|
3900
|
+
mode=self.mode,
|
|
3901
|
+
)
|
|
3902
|
+
|
|
3903
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
3904
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
3905
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
3906
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
3907
|
+
|
|
3908
|
+
def __eq__(self, other):
|
|
3909
|
+
if self is other:
|
|
3910
|
+
return True
|
|
3911
|
+
if self.__class__ is not other.__class__:
|
|
3912
|
+
return NotImplemented
|
|
3913
|
+
return (
|
|
3914
|
+
self.mode == other.mode
|
|
3915
|
+
)
|
|
3916
|
+
|
|
3917
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
3918
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
3919
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
3920
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
3921
|
+
|
|
3922
|
+
__dataclass___setattr_frozen_fields = {
|
|
3923
|
+
'__shape__',
|
|
3924
|
+
'mode',
|
|
3925
|
+
}
|
|
3926
|
+
|
|
3927
|
+
def __setattr__(self, name, value):
|
|
3928
|
+
if (
|
|
3929
|
+
type(self) is __dataclass__cls
|
|
3930
|
+
or name in __dataclass___setattr_frozen_fields
|
|
3931
|
+
):
|
|
3932
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
3933
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
3934
|
+
|
|
3935
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
3936
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
3937
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
3938
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
3939
|
+
|
|
3940
|
+
__dataclass___delattr_frozen_fields = {
|
|
3941
|
+
'__shape__',
|
|
3942
|
+
'mode',
|
|
3943
|
+
}
|
|
3944
|
+
|
|
3945
|
+
def __delattr__(self, name):
|
|
3946
|
+
if (
|
|
3947
|
+
type(self) is __dataclass__cls
|
|
3948
|
+
or name in __dataclass___delattr_frozen_fields
|
|
3949
|
+
):
|
|
3950
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
3951
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
3952
|
+
|
|
3953
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
3954
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
3955
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
3956
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
3957
|
+
|
|
3958
|
+
def __hash__(self):
|
|
3959
|
+
return hash((
|
|
3960
|
+
self.mode,
|
|
3961
|
+
))
|
|
3962
|
+
|
|
3963
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
3964
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
3965
|
+
|
|
3966
|
+
def __init__(
|
|
3967
|
+
self,
|
|
3968
|
+
*,
|
|
3969
|
+
mode: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
3970
|
+
) -> __dataclass__None:
|
|
3971
|
+
__dataclass__object_setattr(self, 'mode', mode)
|
|
3972
|
+
|
|
3973
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
3974
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
3975
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
3976
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
3977
|
+
|
|
3978
|
+
@__dataclass___recursive_repr()
|
|
3979
|
+
def __repr__(self):
|
|
3980
|
+
parts = []
|
|
3981
|
+
parts.append(f"mode={self.mode!r}")
|
|
3982
|
+
return (
|
|
3983
|
+
f"{self.__class__.__qualname__}("
|
|
3984
|
+
f"{', '.join(parts)}"
|
|
3985
|
+
f")"
|
|
3986
|
+
)
|
|
3987
|
+
|
|
3988
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
3989
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
3990
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
3991
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
3992
|
+
|
|
3993
|
+
return _process_dataclass
|
|
3994
|
+
|
|
3995
|
+
|
|
3996
|
+
@_register(
|
|
3997
|
+
plan_repr=(
|
|
3998
|
+
"Plans(tup=(CopyPlan(fields=('subnet_ids', 'security_group_ids', 'vpc_id', 'ipv6_allowed_for_dual_stack')), EqP"
|
|
3999
|
+
"lan(fields=('subnet_ids', 'security_group_ids', 'vpc_id', 'ipv6_allowed_for_dual_stack')), FrozenPlan(fields=("
|
|
4000
|
+
"'__shape__', 'subnet_ids', 'security_group_ids', 'vpc_id', 'ipv6_allowed_for_dual_stack'), allow_dynamic_dunde"
|
|
4001
|
+
"r_attrs=False), HashPlan(action='add', fields=('subnet_ids', 'security_group_ids', 'vpc_id', 'ipv6_allowed_for"
|
|
4002
|
+
"_dual_stack'), cache=False), InitPlan(fields=(InitPlan.Field(name='__shape__', annotation=OpRef(name='init.fie"
|
|
4003
|
+
"lds.0.annotation'), default=None, default_factory=None, init=True, override=False, field_type=FieldType.CLASS_"
|
|
4004
|
+
"VAR, coerce=None, validate=None, check_type=None), InitPlan.Field(name='subnet_ids', annotation=OpRef(name='in"
|
|
4005
|
+
"it.fields.1.annotation'), default=OpRef(name='init.fields.1.default'), default_factory=None, init=True, overri"
|
|
4006
|
+
"de=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='se"
|
|
4007
|
+
"curity_group_ids', annotation=OpRef(name='init.fields.2.annotation'), default=OpRef(name='init.fields.2.defaul"
|
|
4008
|
+
"t'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=Non"
|
|
4009
|
+
"e, check_type=None), InitPlan.Field(name='vpc_id', annotation=OpRef(name='init.fields.3.annotation'), default="
|
|
4010
|
+
"OpRef(name='init.fields.3.default'), default_factory=None, init=True, override=False, field_type=FieldType.INS"
|
|
4011
|
+
"TANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='ipv6_allowed_for_dual_stack', annota"
|
|
4012
|
+
"tion=OpRef(name='init.fields.4.annotation'), default=OpRef(name='init.fields.4.default'), default_factory=None"
|
|
4013
|
+
", init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)), sel"
|
|
4014
|
+
"f_param='self', std_params=(), kw_only_params=('subnet_ids', 'security_group_ids', 'vpc_id', 'ipv6_allowed_for"
|
|
4015
|
+
"_dual_stack'), frozen=True, slots=False, post_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fields"
|
|
4016
|
+
"=(ReprPlan.Field(name='subnet_ids', kw_only=True, fn=None), ReprPlan.Field(name='security_group_ids', kw_only="
|
|
4017
|
+
"True, fn=None), ReprPlan.Field(name='vpc_id', kw_only=True, fn=None), ReprPlan.Field(name='ipv6_allowed_for_du"
|
|
4018
|
+
"al_stack', kw_only=True, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
4019
|
+
),
|
|
4020
|
+
plan_repr_sha1='adc0193a1c11249e7e0ecd78b9755bc5f0aaada7',
|
|
4021
|
+
op_ref_idents=(
|
|
4022
|
+
'__dataclass__init__fields__1__annotation',
|
|
4023
|
+
'__dataclass__init__fields__1__default',
|
|
4024
|
+
'__dataclass__init__fields__2__annotation',
|
|
4025
|
+
'__dataclass__init__fields__2__default',
|
|
4026
|
+
'__dataclass__init__fields__3__annotation',
|
|
4027
|
+
'__dataclass__init__fields__3__default',
|
|
4028
|
+
'__dataclass__init__fields__4__annotation',
|
|
4029
|
+
'__dataclass__init__fields__4__default',
|
|
4030
|
+
),
|
|
4031
|
+
cls_names=(
|
|
4032
|
+
('ominfra.clouds.aws.models.services.lambda_', 'VpcConfigResponse'),
|
|
4033
|
+
),
|
|
4034
|
+
)
|
|
4035
|
+
def _process_dataclass__adc0193a1c11249e7e0ecd78b9755bc5f0aaada7():
|
|
4036
|
+
def _process_dataclass(
|
|
4037
|
+
*,
|
|
4038
|
+
__dataclass__cls,
|
|
4039
|
+
__dataclass__init__fields__1__annotation,
|
|
4040
|
+
__dataclass__init__fields__1__default,
|
|
4041
|
+
__dataclass__init__fields__2__annotation,
|
|
4042
|
+
__dataclass__init__fields__2__default,
|
|
4043
|
+
__dataclass__init__fields__3__annotation,
|
|
4044
|
+
__dataclass__init__fields__3__default,
|
|
4045
|
+
__dataclass__init__fields__4__annotation,
|
|
4046
|
+
__dataclass__init__fields__4__default,
|
|
4047
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
4048
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
4049
|
+
__dataclass__FnValidationError, # noqa
|
|
4050
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
4051
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
4052
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
4053
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
4054
|
+
__dataclass__None=None, # noqa
|
|
4055
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
4056
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
4057
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
4058
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
4059
|
+
__dataclass__property=property, # noqa
|
|
4060
|
+
):
|
|
4061
|
+
def __copy__(self):
|
|
4062
|
+
if self.__class__ is not __dataclass__cls:
|
|
4063
|
+
raise TypeError(self)
|
|
4064
|
+
return __dataclass__cls( # noqa
|
|
4065
|
+
subnet_ids=self.subnet_ids,
|
|
4066
|
+
security_group_ids=self.security_group_ids,
|
|
4067
|
+
vpc_id=self.vpc_id,
|
|
4068
|
+
ipv6_allowed_for_dual_stack=self.ipv6_allowed_for_dual_stack,
|
|
4069
|
+
)
|
|
4070
|
+
|
|
4071
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
4072
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
4073
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
4074
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
4075
|
+
|
|
4076
|
+
def __eq__(self, other):
|
|
4077
|
+
if self is other:
|
|
4078
|
+
return True
|
|
4079
|
+
if self.__class__ is not other.__class__:
|
|
4080
|
+
return NotImplemented
|
|
4081
|
+
return (
|
|
4082
|
+
self.subnet_ids == other.subnet_ids and
|
|
4083
|
+
self.security_group_ids == other.security_group_ids and
|
|
4084
|
+
self.vpc_id == other.vpc_id and
|
|
4085
|
+
self.ipv6_allowed_for_dual_stack == other.ipv6_allowed_for_dual_stack
|
|
4086
|
+
)
|
|
4087
|
+
|
|
4088
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
4089
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
4090
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
4091
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
4092
|
+
|
|
4093
|
+
__dataclass___setattr_frozen_fields = {
|
|
4094
|
+
'__shape__',
|
|
4095
|
+
'subnet_ids',
|
|
4096
|
+
'security_group_ids',
|
|
4097
|
+
'vpc_id',
|
|
4098
|
+
'ipv6_allowed_for_dual_stack',
|
|
4099
|
+
}
|
|
4100
|
+
|
|
4101
|
+
def __setattr__(self, name, value):
|
|
4102
|
+
if (
|
|
4103
|
+
type(self) is __dataclass__cls
|
|
4104
|
+
or name in __dataclass___setattr_frozen_fields
|
|
4105
|
+
):
|
|
4106
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
4107
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
4108
|
+
|
|
4109
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
4110
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
4111
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
4112
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
4113
|
+
|
|
4114
|
+
__dataclass___delattr_frozen_fields = {
|
|
4115
|
+
'__shape__',
|
|
4116
|
+
'subnet_ids',
|
|
4117
|
+
'security_group_ids',
|
|
4118
|
+
'vpc_id',
|
|
4119
|
+
'ipv6_allowed_for_dual_stack',
|
|
4120
|
+
}
|
|
4121
|
+
|
|
4122
|
+
def __delattr__(self, name):
|
|
4123
|
+
if (
|
|
4124
|
+
type(self) is __dataclass__cls
|
|
4125
|
+
or name in __dataclass___delattr_frozen_fields
|
|
4126
|
+
):
|
|
4127
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
4128
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
4129
|
+
|
|
4130
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
4131
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
4132
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
4133
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
4134
|
+
|
|
4135
|
+
def __hash__(self):
|
|
4136
|
+
return hash((
|
|
4137
|
+
self.subnet_ids,
|
|
4138
|
+
self.security_group_ids,
|
|
4139
|
+
self.vpc_id,
|
|
4140
|
+
self.ipv6_allowed_for_dual_stack,
|
|
4141
|
+
))
|
|
4142
|
+
|
|
4143
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
4144
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
4145
|
+
|
|
4146
|
+
def __init__(
|
|
4147
|
+
self,
|
|
4148
|
+
*,
|
|
4149
|
+
subnet_ids: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
4150
|
+
security_group_ids: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
4151
|
+
vpc_id: __dataclass__init__fields__3__annotation = __dataclass__init__fields__3__default,
|
|
4152
|
+
ipv6_allowed_for_dual_stack: __dataclass__init__fields__4__annotation = __dataclass__init__fields__4__default,
|
|
4153
|
+
) -> __dataclass__None:
|
|
4154
|
+
__dataclass__object_setattr(self, 'subnet_ids', subnet_ids)
|
|
4155
|
+
__dataclass__object_setattr(self, 'security_group_ids', security_group_ids)
|
|
4156
|
+
__dataclass__object_setattr(self, 'vpc_id', vpc_id)
|
|
4157
|
+
__dataclass__object_setattr(self, 'ipv6_allowed_for_dual_stack', ipv6_allowed_for_dual_stack)
|
|
4158
|
+
|
|
4159
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
4160
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
4161
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
4162
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
4163
|
+
|
|
4164
|
+
@__dataclass___recursive_repr()
|
|
4165
|
+
def __repr__(self):
|
|
4166
|
+
parts = []
|
|
4167
|
+
parts.append(f"subnet_ids={self.subnet_ids!r}")
|
|
4168
|
+
parts.append(f"security_group_ids={self.security_group_ids!r}")
|
|
4169
|
+
parts.append(f"vpc_id={self.vpc_id!r}")
|
|
4170
|
+
parts.append(f"ipv6_allowed_for_dual_stack={self.ipv6_allowed_for_dual_stack!r}")
|
|
4171
|
+
return (
|
|
4172
|
+
f"{self.__class__.__qualname__}("
|
|
4173
|
+
f"{', '.join(parts)}"
|
|
4174
|
+
f")"
|
|
4175
|
+
)
|
|
4176
|
+
|
|
4177
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
4178
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
4179
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
4180
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
4181
|
+
|
|
4182
|
+
return _process_dataclass
|