Skip to content

Commit bafa77c

Browse files
committed
adjust ref class
1 parent ecfa7e6 commit bafa77c

File tree

7 files changed

+246
-246
lines changed

7 files changed

+246
-246
lines changed

src/healthdataaiservice/azext_healthdataaiservice/aaz/latest/health_data_ai_services/deid_services/_deid.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,11 @@ def _build_schema_on_200(cls):
226226
_element.length = AAZObjectType(
227227
flags={"required": True},
228228
)
229-
_DeidHelper._build_schema_string_index_read(_element.length)
229+
_DeidHelper._build_schema_stringindex_read(_element.length)
230230
_element.offset = AAZObjectType(
231231
flags={"required": True},
232232
)
233-
_DeidHelper._build_schema_string_index_read(_element.offset)
233+
_DeidHelper._build_schema_stringindex_read(_element.offset)
234234
_element.text = AAZStrType()
235235

236236
return cls._schema_on_200
@@ -239,33 +239,33 @@ def _build_schema_on_200(cls):
239239
class _DeidHelper:
240240
"""Helper class for Deid"""
241241

242-
_schema_string_index_read = None
242+
_schema_stringindex_read = None
243243

244244
@classmethod
245-
def _build_schema_string_index_read(cls, _schema):
246-
if cls._schema_string_index_read is not None:
247-
_schema.code_point = cls._schema_string_index_read.code_point
248-
_schema.utf16 = cls._schema_string_index_read.utf16
249-
_schema.utf8 = cls._schema_string_index_read.utf8
245+
def _build_schema_stringindex_read(cls, _schema):
246+
if cls._schema_stringindex_read is not None:
247+
_schema.code_point = cls._schema_stringindex_read.code_point
248+
_schema.utf16 = cls._schema_stringindex_read.utf16
249+
_schema.utf8 = cls._schema_stringindex_read.utf8
250250
return
251251

252-
cls._schema_string_index_read = _schema_string_index_read = AAZObjectType()
252+
cls._schema_stringindex_read = _schema_stringindex_read = AAZObjectType()
253253

254-
string_index_read = _schema_string_index_read
255-
string_index_read.code_point = AAZIntType(
254+
stringindex_read = _schema_stringindex_read
255+
stringindex_read.code_point = AAZIntType(
256256
serialized_name="codePoint",
257257
flags={"required": True},
258258
)
259-
string_index_read.utf16 = AAZIntType(
259+
stringindex_read.utf16 = AAZIntType(
260260
flags={"required": True},
261261
)
262-
string_index_read.utf8 = AAZIntType(
262+
stringindex_read.utf8 = AAZIntType(
263263
flags={"required": True},
264264
)
265265

266-
_schema.code_point = cls._schema_string_index_read.code_point
267-
_schema.utf16 = cls._schema_string_index_read.utf16
268-
_schema.utf8 = cls._schema_string_index_read.utf8
266+
_schema.code_point = cls._schema_stringindex_read.code_point
267+
_schema.utf16 = cls._schema_stringindex_read.utf16
268+
_schema.utf8 = cls._schema_stringindex_read.utf8
269269

270270

271271
__all__ = ["Deid"]

src/healthdataaiservice/azext_healthdataaiservice/aaz/latest/health_data_ai_services/deid_services/job/_cancel.py

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def _build_schema_on_200(cls):
166166
_schema_on_200.error = AAZObjectType(
167167
flags={"read_only": True},
168168
)
169-
_CancelHelper._build_schema_azure._core._foundations._error_read(_schema_on_200.error)
169+
_CancelHelper._build_schema_azure_core_foundations_error_read(_schema_on_200.error)
170170
_schema_on_200.last_updated_at = AAZStrType(
171171
serialized_name="lastUpdatedAt",
172172
flags={"read_only": True},
@@ -247,62 +247,62 @@ def _build_schema_on_200(cls):
247247
class _CancelHelper:
248248
"""Helper class for Cancel"""
249249

250-
_schema_azure._core._foundations._error_read = None
250+
_schema_azure_core_foundations_error_read = None
251251

252252
@classmethod
253-
def _build_schema_azure._core._foundations._error_read(cls, _schema):
254-
if cls._schema_azure._core._foundations._error_read is not None:
255-
_schema.code = cls._schema_azure._core._foundations._error_read.code
256-
_schema.details = cls._schema_azure._core._foundations._error_read.details
257-
_schema.innererror = cls._schema_azure._core._foundations._error_read.innererror
258-
_schema.message = cls._schema_azure._core._foundations._error_read.message
259-
_schema.target = cls._schema_azure._core._foundations._error_read.target
253+
def _build_schema_azure_core_foundations_error_read(cls, _schema):
254+
if cls._schema_azure_core_foundations_error_read is not None:
255+
_schema.code = cls._schema_azure_core_foundations_error_read.code
256+
_schema.details = cls._schema_azure_core_foundations_error_read.details
257+
_schema.innererror = cls._schema_azure_core_foundations_error_read.innererror
258+
_schema.message = cls._schema_azure_core_foundations_error_read.message
259+
_schema.target = cls._schema_azure_core_foundations_error_read.target
260260
return
261261

262-
cls._schema_azure._core._foundations._error_read = _schema_azure._core._foundations._error_read = AAZObjectType(
262+
cls._schema_azure_core_foundations_error_read = _schema_azure_core_foundations_error_read = AAZObjectType(
263263
flags={"read_only": True}
264264
)
265265

266-
azure._core._foundations._error_read = _schema_azure._core._foundations._error_read
267-
azure._core._foundations._error_read.code = AAZStrType(
266+
azure_core_foundations_error_read = _schema_azure_core_foundations_error_read
267+
azure_core_foundations_error_read.code = AAZStrType(
268268
flags={"required": True},
269269
)
270-
azure._core._foundations._error_read.details = AAZListType()
271-
azure._core._foundations._error_read.innererror = AAZObjectType()
272-
cls._build_schema_azure._core._foundations._inner_error_read(azure._core._foundations._error_read.innererror)
273-
azure._core._foundations._error_read.message = AAZStrType(
270+
azure_core_foundations_error_read.details = AAZListType()
271+
azure_core_foundations_error_read.innererror = AAZObjectType()
272+
cls._build_schema_azure_core_foundations_innererror_read(azure_core_foundations_error_read.innererror)
273+
azure_core_foundations_error_read.message = AAZStrType(
274274
flags={"required": True},
275275
)
276-
azure._core._foundations._error_read.target = AAZStrType()
276+
azure_core_foundations_error_read.target = AAZStrType()
277277

278-
details = _schema_azure._core._foundations._error_read.details
278+
details = _schema_azure_core_foundations_error_read.details
279279
details.Element = AAZObjectType()
280-
cls._build_schema_azure._core._foundations._error_read(details.Element)
280+
cls._build_schema_azure_core_foundations_error_read(details.Element)
281281

282-
_schema.code = cls._schema_azure._core._foundations._error_read.code
283-
_schema.details = cls._schema_azure._core._foundations._error_read.details
284-
_schema.innererror = cls._schema_azure._core._foundations._error_read.innererror
285-
_schema.message = cls._schema_azure._core._foundations._error_read.message
286-
_schema.target = cls._schema_azure._core._foundations._error_read.target
282+
_schema.code = cls._schema_azure_core_foundations_error_read.code
283+
_schema.details = cls._schema_azure_core_foundations_error_read.details
284+
_schema.innererror = cls._schema_azure_core_foundations_error_read.innererror
285+
_schema.message = cls._schema_azure_core_foundations_error_read.message
286+
_schema.target = cls._schema_azure_core_foundations_error_read.target
287287

288-
_schema_azure._core._foundations._inner_error_read = None
288+
_schema_azure_core_foundations_innererror_read = None
289289

290290
@classmethod
291-
def _build_schema_azure._core._foundations._inner_error_read(cls, _schema):
292-
if cls._schema_azure._core._foundations._inner_error_read is not None:
293-
_schema.code = cls._schema_azure._core._foundations._inner_error_read.code
294-
_schema.innererror = cls._schema_azure._core._foundations._inner_error_read.innererror
291+
def _build_schema_azure_core_foundations_innererror_read(cls, _schema):
292+
if cls._schema_azure_core_foundations_innererror_read is not None:
293+
_schema.code = cls._schema_azure_core_foundations_innererror_read.code
294+
_schema.innererror = cls._schema_azure_core_foundations_innererror_read.innererror
295295
return
296296

297-
cls._schema_azure._core._foundations._inner_error_read = _schema_azure._core._foundations._inner_error_read = AAZObjectType()
297+
cls._schema_azure_core_foundations_innererror_read = _schema_azure_core_foundations_innererror_read = AAZObjectType()
298298

299-
azure._core._foundations._inner_error_read = _schema_azure._core._foundations._inner_error_read
300-
azure._core._foundations._inner_error_read.code = AAZStrType()
301-
azure._core._foundations._inner_error_read.innererror = AAZObjectType()
302-
cls._build_schema_azure._core._foundations._inner_error_read(azure._core._foundations._inner_error_read.innererror)
299+
azure_core_foundations_innererror_read = _schema_azure_core_foundations_innererror_read
300+
azure_core_foundations_innererror_read.code = AAZStrType()
301+
azure_core_foundations_innererror_read.innererror = AAZObjectType()
302+
cls._build_schema_azure_core_foundations_innererror_read(azure_core_foundations_innererror_read.innererror)
303303

304-
_schema.code = cls._schema_azure._core._foundations._inner_error_read.code
305-
_schema.innererror = cls._schema_azure._core._foundations._inner_error_read.innererror
304+
_schema.code = cls._schema_azure_core_foundations_innererror_read.code
305+
_schema.innererror = cls._schema_azure_core_foundations_innererror_read.innererror
306306

307307

308308
__all__ = ["Cancel"]

src/healthdataaiservice/azext_healthdataaiservice/aaz/latest/health_data_ai_services/deid_services/job/_create.py

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def _build_schema_on_201_200(cls):
310310
_schema_on_201_200.error = AAZObjectType(
311311
flags={"read_only": True},
312312
)
313-
_CreateHelper._build_schema_azure._core._foundations._error_read(_schema_on_201_200.error)
313+
_CreateHelper._build_schema_azure_core_foundations_error_read(_schema_on_201_200.error)
314314
_schema_on_201_200.last_updated_at = AAZStrType(
315315
serialized_name="lastUpdatedAt",
316316
flags={"read_only": True},
@@ -391,62 +391,62 @@ def _build_schema_on_201_200(cls):
391391
class _CreateHelper:
392392
"""Helper class for Create"""
393393

394-
_schema_azure._core._foundations._error_read = None
394+
_schema_azure_core_foundations_error_read = None
395395

396396
@classmethod
397-
def _build_schema_azure._core._foundations._error_read(cls, _schema):
398-
if cls._schema_azure._core._foundations._error_read is not None:
399-
_schema.code = cls._schema_azure._core._foundations._error_read.code
400-
_schema.details = cls._schema_azure._core._foundations._error_read.details
401-
_schema.innererror = cls._schema_azure._core._foundations._error_read.innererror
402-
_schema.message = cls._schema_azure._core._foundations._error_read.message
403-
_schema.target = cls._schema_azure._core._foundations._error_read.target
397+
def _build_schema_azure_core_foundations_error_read(cls, _schema):
398+
if cls._schema_azure_core_foundations_error_read is not None:
399+
_schema.code = cls._schema_azure_core_foundations_error_read.code
400+
_schema.details = cls._schema_azure_core_foundations_error_read.details
401+
_schema.innererror = cls._schema_azure_core_foundations_error_read.innererror
402+
_schema.message = cls._schema_azure_core_foundations_error_read.message
403+
_schema.target = cls._schema_azure_core_foundations_error_read.target
404404
return
405405

406-
cls._schema_azure._core._foundations._error_read = _schema_azure._core._foundations._error_read = AAZObjectType(
406+
cls._schema_azure_core_foundations_error_read = _schema_azure_core_foundations_error_read = AAZObjectType(
407407
flags={"read_only": True}
408408
)
409409

410-
azure._core._foundations._error_read = _schema_azure._core._foundations._error_read
411-
azure._core._foundations._error_read.code = AAZStrType(
410+
azure_core_foundations_error_read = _schema_azure_core_foundations_error_read
411+
azure_core_foundations_error_read.code = AAZStrType(
412412
flags={"required": True},
413413
)
414-
azure._core._foundations._error_read.details = AAZListType()
415-
azure._core._foundations._error_read.innererror = AAZObjectType()
416-
cls._build_schema_azure._core._foundations._inner_error_read(azure._core._foundations._error_read.innererror)
417-
azure._core._foundations._error_read.message = AAZStrType(
414+
azure_core_foundations_error_read.details = AAZListType()
415+
azure_core_foundations_error_read.innererror = AAZObjectType()
416+
cls._build_schema_azure_core_foundations_innererror_read(azure_core_foundations_error_read.innererror)
417+
azure_core_foundations_error_read.message = AAZStrType(
418418
flags={"required": True},
419419
)
420-
azure._core._foundations._error_read.target = AAZStrType()
420+
azure_core_foundations_error_read.target = AAZStrType()
421421

422-
details = _schema_azure._core._foundations._error_read.details
422+
details = _schema_azure_core_foundations_error_read.details
423423
details.Element = AAZObjectType()
424-
cls._build_schema_azure._core._foundations._error_read(details.Element)
424+
cls._build_schema_azure_core_foundations_error_read(details.Element)
425425

426-
_schema.code = cls._schema_azure._core._foundations._error_read.code
427-
_schema.details = cls._schema_azure._core._foundations._error_read.details
428-
_schema.innererror = cls._schema_azure._core._foundations._error_read.innererror
429-
_schema.message = cls._schema_azure._core._foundations._error_read.message
430-
_schema.target = cls._schema_azure._core._foundations._error_read.target
426+
_schema.code = cls._schema_azure_core_foundations_error_read.code
427+
_schema.details = cls._schema_azure_core_foundations_error_read.details
428+
_schema.innererror = cls._schema_azure_core_foundations_error_read.innererror
429+
_schema.message = cls._schema_azure_core_foundations_error_read.message
430+
_schema.target = cls._schema_azure_core_foundations_error_read.target
431431

432-
_schema_azure._core._foundations._inner_error_read = None
432+
_schema_azure_core_foundations_innererror_read = None
433433

434434
@classmethod
435-
def _build_schema_azure._core._foundations._inner_error_read(cls, _schema):
436-
if cls._schema_azure._core._foundations._inner_error_read is not None:
437-
_schema.code = cls._schema_azure._core._foundations._inner_error_read.code
438-
_schema.innererror = cls._schema_azure._core._foundations._inner_error_read.innererror
435+
def _build_schema_azure_core_foundations_innererror_read(cls, _schema):
436+
if cls._schema_azure_core_foundations_innererror_read is not None:
437+
_schema.code = cls._schema_azure_core_foundations_innererror_read.code
438+
_schema.innererror = cls._schema_azure_core_foundations_innererror_read.innererror
439439
return
440440

441-
cls._schema_azure._core._foundations._inner_error_read = _schema_azure._core._foundations._inner_error_read = AAZObjectType()
441+
cls._schema_azure_core_foundations_innererror_read = _schema_azure_core_foundations_innererror_read = AAZObjectType()
442442

443-
azure._core._foundations._inner_error_read = _schema_azure._core._foundations._inner_error_read
444-
azure._core._foundations._inner_error_read.code = AAZStrType()
445-
azure._core._foundations._inner_error_read.innererror = AAZObjectType()
446-
cls._build_schema_azure._core._foundations._inner_error_read(azure._core._foundations._inner_error_read.innererror)
443+
azure_core_foundations_innererror_read = _schema_azure_core_foundations_innererror_read
444+
azure_core_foundations_innererror_read.code = AAZStrType()
445+
azure_core_foundations_innererror_read.innererror = AAZObjectType()
446+
cls._build_schema_azure_core_foundations_innererror_read(azure_core_foundations_innererror_read.innererror)
447447

448-
_schema.code = cls._schema_azure._core._foundations._inner_error_read.code
449-
_schema.innererror = cls._schema_azure._core._foundations._inner_error_read.innererror
448+
_schema.code = cls._schema_azure_core_foundations_innererror_read.code
449+
_schema.innererror = cls._schema_azure_core_foundations_innererror_read.innererror
450450

451451

452452
__all__ = ["Create"]

0 commit comments

Comments
 (0)