Aracılığıyla paylaş


PipelineChildJobError Sınıf

İşlem hattı alt işinin desteklenmemesi özel durumu.

Devralma
PipelineChildJobError

Oluşturucu

PipelineChildJobError(job_id: str, command: str = 'parse', prompt_studio_ui: bool = False)

Parametreler

job_id
Gerekli
command
varsayılan değer: parse
prompt_studio_ui
varsayılan değer: False

Yöntemler

add_note

Exception.add_note(not) – özel duruma not ekleme

raise_with_traceback

Mevcut geri izleme ile özel durumu tetikleme.

Sürüm 1.22.0'dan bu yana kullanım dışı bırakıldı: Python 2'i artık desteklemediğimiz için bu yöntem kullanım dışı bırakıldı. Bunun yerine raise/from kullanın.

with_traceback

Exception.with_traceback(tb) – kendini ayarla. tb'ye geri dönme ve kendini döndürme.

add_note

Exception.add_note(not) – özel duruma not ekleme

add_note()

raise_with_traceback

Mevcut geri izleme ile özel durumu tetikleme.

Sürüm 1.22.0'dan bu yana kullanım dışı bırakıldı: Python 2'i artık desteklemediğimiz için bu yöntem kullanım dışı bırakıldı. Bunun yerine raise/from kullanın.

raise_with_traceback() -> None

with_traceback

Exception.with_traceback(tb) – kendini ayarla. tb'ye geri dönme ve kendini döndürme.

with_traceback()

Öznitelikler

args

error_category

Hata kategorisini döndür.

Döndürülenler

Hata kategorisi.

Dönüş türü

no_personal_data_message

Kişisel veri içermeyen hata iletisini döndürür.

Döndürülenler

Kişisel veri hatası iletisi yok.

Dönüş türü

str

target

Hata hedefini döndürür.

Döndürülenler

Hata hedefi.

Dönüş türü

ERROR_MESSAGE_TEMPLATE

ERROR_MESSAGE_TEMPLATE = 'az ml job {command} is not supported on pipeline child job, {prompt_message}.'

PROMPT_PARENT_MESSAGE

PROMPT_PARENT_MESSAGE = 'please use this command on pipeline parent job'

PROMPT_STUDIO_UI_MESSAGE

PROMPT_STUDIO_UI_MESSAGE = 'please go to studio UI to do related actions{url}'

continuation_token

continuation_token: str | None

exc_msg

exc_msg: str

exc_traceback

exc_traceback: TracebackType | None

exc_type

exc_type: Type[Any] | None

exc_value

exc_value: BaseException | None

inner_exception

inner_exception: BaseException | None

message

message: str