The page you navigated to does not exist, so we brought you to the closest page to it.
flytekit.models.annotation
| Class |
Description |
TypeAnnotation |
Python class representation of the flyteidl TypeAnnotation message. |
Python class representation of the flyteidl TypeAnnotation message.
class TypeAnnotation(
annotations: typing.Dict[str, typing.Any],
)
| Parameter |
Type |
Description |
annotations |
typing.Dict[str, typing.Any] |
|
def from_flyte_idl(
proto,
)
| Parameter |
Type |
Description |
proto |
|
|
def merge_annotations(
annotation: TypeAnnotation,
other_annotation: TypeAnnotation,
) -> TypeAnnotation
Merges two annotations together. If the same key exists in both annotations, the value in the other annotation
will be used.
| Parameter |
Type |
Description |
annotation |
TypeAnnotation |
|
other_annotation |
TypeAnnotation |
|
:rtype: flyteidl.core.types_pb2.TypeAnnotation
| Property |
Type |
Description |
annotations |
|
:rtype: dict[str, Any]
|