DocumentError 클래스
DocumentError는 개별 문서의 오류를 나타내는 오류 개체입니다.
- 상속
-
azure.ai.textanalytics._dict_mixin.DictMixinDocumentError
생성자
DocumentError(**kwargs: Any)
메서드
get | |
has_key | |
items | |
keys | |
update | |
values |
get
get(key: str, default: Any | None = None) -> Any
매개 변수
Name | Description |
---|---|
key
필수
|
|
default
|
기본값: None
|
has_key
has_key(k: str) -> bool
매개 변수
Name | Description |
---|---|
k
필수
|
|
items
items() -> Iterable[Tuple[str, Any]]
keys
keys() -> Iterable[str]
update
update(*args: Any, **kwargs: Any) -> None
values
values() -> Iterable[Any]
특성
error
문서 오류입니다.
error: TextAnalyticsError
id
요청과 함께 전달된 문서 ID와 일치하는 비어 있지 않은 고유 문서 식별자입니다. 요청에 지정하지 않으면 문서에 대한 ID가 할당됩니다.
id: str
is_error
결과 목록을 반복할 때 오류 항목에 대한 부울 검사. DocumentError의 instance 항상 True입니다.
is_error: Literal[True] = True
kind
오류 종류 - "DocumentError".
kind: Literal['DocumentError'] = 'DocumentError'
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Python