1.16.20
flytekit.models.domain
Directory
Classes
| Class | Description |
|---|---|
Domain |
Domains are fixed and unique at the global level, and provide an abstraction to isolate resources and feature configuration for different deployment environments. |
flytekit.models.domain.Domain
Domains are fixed and unique at the global level, and provide an abstraction to isolate resources and feature configuration for different deployment environments.
Parameters
class Domain(
id,
name,
)| Parameter | Type | Description |
|---|---|---|
id |
||
name |
Properties
| Property | Type | Description |
|---|---|---|
id |
None |
A globally unique identifier associated with this domain. |
is_empty |
None |
|
name |
None |
A human-readable name for this domain. |
Methods
| Method | Description |
|---|---|
from_flyte_idl() |
|
serialize_to_string() |
|
short_string() |
|
to_flyte_idl() |
from_flyte_idl()
def from_flyte_idl(
pb2_object,
)| Parameter | Type | Description |
|---|---|---|
pb2_object |
Returns: Domain
serialize_to_string()
def serialize_to_string()short_string()
def short_string()Returns: Text
to_flyte_idl()
def to_flyte_idl()Returns: flyteidl.admin.project_pb2.Domain