TextAnalyticsWarning Class
TextAnalyticsWarning contains the warning code and message that explains why the response has a warning.
- Inheritance
-
azure.ai.textanalytics._dict_mixin.DictMixinTextAnalyticsWarning
Constructor
TextAnalyticsWarning(**kwargs: Any)
Methods
get | |
has_key | |
items | |
keys | |
update | |
values |
get
get(key: str, default: Any | None = None) -> Any
Parameters
Name | Description |
---|---|
key
Required
|
|
default
|
Default value: None
|
has_key
has_key(k: str) -> bool
Parameters
Name | Description |
---|---|
k
Required
|
|
items
items() -> Iterable[Tuple[str, Any]]
keys
keys() -> Iterable[str]
update
update(*args: Any, **kwargs: Any) -> None
values
values() -> Iterable[Any]
Attributes
code
Warning code. Possible values include 'LongWordsInDocument', 'DocumentTruncated'.
code: str
message
Warning message.
message: str
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python