EvaluateContainerWithVariables
__init__
with_variables
| Name | Type | Description |
|---|---|---|
variables | Dict[str, str] | The variables to use for the evaluate container. |
EvaluateContainer
Methods:
with_variables- Allows adding variables to be used by the evaluators.
__init__
with_variables
| Name | Type | Description |
|---|---|---|
variables | Dict[str, str] | The variables to use for the evaluate container. |
for_evaluators | List[str] | The evaluators of the evaluate container. |
with_evaluators
| Name | Type | Description |
|---|---|---|
*evaluators | str | The evaluators to use for the evaluate container. |
| Name | Description |
|---|---|
[EvaluateContainerWithVariables](/sdk/python/references/logger/components/base) | The evaluate container with variables. |
BaseContainer
__init__
id
| Name | Description |
|---|---|
str | The ID of the base container. |
evaluate
| Name | Description |
|---|---|
[EvaluateContainer](/sdk/python/references/logger/components/base) | The evaluate container. |
_evaluate_
add_metadata
| Name | Type | Description |
|---|---|---|
metadata | Dict[str, Any] | The metadata to add to the base container. |
add_metadata_
add_tag
| Name | Type | Description |
|---|---|---|
key | str | The key of the tag. |
value | str | The value of the tag. |
_add_tag_
end
_end_
data
_commit_
EventEmittingBaseContainer
_event_
| Name | Type | Description |
|---|---|---|
writer | LogWriter | The writer of the base container. |
entity | Entity | The entity of the base container. |
entity_id | str | The ID of the entity. |
id | str | The ID of the event. |
name | str | The name of the event. |
tags | Optional[Dict[str, str]] | The tags of the event. |
metadata | Optional[Dict[str, Any]] | The metadata of the event. |
event
| Name | Type | Description |
|---|---|---|
id | str | The ID of the event. |
name | str | The name of the event. |
tags | Optional[Dict[str, str]] | The tags of the event. |
metadata | Optional[Dict[str, Any]] | The metadata of the event. |