0.1.dev2184+g1e0cbe7.d20250401
flytekit.models.named_entity
Directory
Classes
Class | Description |
---|---|
NamedEntityIdentifier |
|
NamedEntityMetadata |
|
NamedEntityState |
flytekit.models.named_entity.NamedEntityIdentifier
class NamedEntityIdentifier(
project,
domain,
name,
)
Parameter | Type |
---|---|
project |
|
domain |
|
name |
Methods
Method | Description |
---|---|
from_flyte_idl() |
. |
serialize_to_string() |
|
short_string() |
:rtype: Text. |
to_flyte_idl() |
:rtype: flyteidl. |
verbose_string() |
:rtype: Text. |
from_flyte_idl()
def from_flyte_idl(
p,
) -> e: Identifier
Parameter | Type |
---|---|
p |
serialize_to_string()
def serialize_to_string()
short_string()
def short_string()
:rtype: Text
to_flyte_idl()
def to_flyte_idl()
:rtype: flyteidl.admin.common_pb2.NamedEntityIdentifier
verbose_string()
def verbose_string()
:rtype: Text
Properties
Property | Type | Description |
---|---|---|
domain |
:rtype: Text |
|
is_empty |
||
name |
:rtype: Text |
|
project |
:rtype: Text |
flytekit.models.named_entity.NamedEntityMetadata
class NamedEntityMetadata(
description,
state,
)
Parameter | Type |
---|---|
description |
|
state |
Methods
Method | Description |
---|---|
from_flyte_idl() |
. |
serialize_to_string() |
|
short_string() |
:rtype: Text. |
to_flyte_idl() |
:rtype: flyteidl. |
verbose_string() |
:rtype: Text. |
from_flyte_idl()
def from_flyte_idl(
p,
) -> e: Identifier
Parameter | Type |
---|---|
p |
serialize_to_string()
def serialize_to_string()
short_string()
def short_string()
:rtype: Text
to_flyte_idl()
def to_flyte_idl()
:rtype: flyteidl.admin.common_pb2.NamedEntityMetadata
verbose_string()
def verbose_string()
:rtype: Text
Properties
Property | Type | Description |
---|---|---|
description |
:rtype: Text |
|
is_empty |
||
state |
enum value from NamedEntityState :rtype: int |
flytekit.models.named_entity.NamedEntityState
Methods
Method | Description |
---|---|
enum_to_string() |
. |
enum_to_string()
def enum_to_string(
val,
) -> e: Text
Parameter | Type |
---|---|
val |