netunicorn.base.types.DeploymentRepresentation

class DeploymentRepresentation[source]

Bases: TypedDict

Deployment JSON representation.

Attributes

node

Node JSON representation.

prepared

Prepared flag.

executor_id

Executor ID.

error

Error message.

execution_graph

Serialized execution graph.

keep_alive_timeout_minutes

Keep alive timeout value.

cleanup

Cleanup flag.

environment_definition

Environment definition JSON representation.

environment_definition_type

Type of environment definition.

Methods

fromkeys

Create a new dictionary with keys from iterable and values set to value.

node: NodeRepresentation[source]

Node JSON representation.

prepared: bool[source]

Prepared flag.

executor_id: str[source]

Executor ID.

error: Optional[str][source]

Error message.

execution_graph: bytes[source]

Serialized execution graph.

keep_alive_timeout_minutes: int[source]

Keep alive timeout value.

cleanup: bool[source]

Cleanup flag.

environment_definition: EnvironmentDefinitionRepresentation[source]

Environment definition JSON representation.

environment_definition_type: str[source]

Type of environment definition.