SummaryContext Class
The context of the summary.
New in version 2023-04-01: The SummaryContext model.
Constructor
SummaryContext(**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
length
The length of the context. Use of different 'string_index_type' values can affect the length returned. Required.
length: int
offset
Start position for the context. Use of different 'string_index_type' values can affect the offset returned. Required.
offset: int