plynx.constants.node_enums

Node constants

Module Contents

class plynx.constants.node_enums.NodeRunningStatus[source]

Running status enum

STATIC :str = STATIC[source]
CREATED :str = CREATED[source]
READY :str = READY[source]
IN_QUEUE :str = IN_QUEUE[source]
RUNNING :str = RUNNING[source]
SUCCESS :str = SUCCESS[source]
RESTORED :str = RESTORED[source]
FAILED :str = FAILED[source]
FAILED_WAITING :str = FAILED_WAITING[source]
CANCELED :str = CANCELED[source]
SPECIAL :str = SPECIAL[source]
_FAILED_STATUSES :Set[str][source]
_SUCCEEDED_STATUSES :Set[str][source]
_AWAITING_STATUSES :Set[str][source]
_NON_CHANGEABLE_STATUSES :Set[str][source]
_FINISHED_STATUSES :Set[str][source]
static is_finished(node_running_status: str)[source]

Check if the status is final

static is_succeeded(node_running_status: str)[source]

Check if the status is final and successful

static is_failed(node_running_status: str)[source]

Check if the status is final and failed

static is_non_changeable(node_running_status: str)[source]

Check if the status is in static or special

class plynx.constants.node_enums.NodeStatus[source]

Node permanent status

CREATED :str = CREATED[source]
READY :str = READY[source]
DEPRECATED :str = DEPRECATED[source]
MANDATORY_DEPRECATED :str = MANDATORY_DEPRECATED[source]
class plynx.constants.node_enums.NodePostAction[source]

HTTP post action

SAVE :str = SAVE[source]
APPROVE :str = APPROVE[source]
CREATE_RUN :str = CREATE_RUN[source]
CREATE_RUN_FROM_SCRATCH :str = CREATE_RUN_FROM_SCRATCH[source]
CLONE :str = CLONE[source]
VALIDATE :str = VALIDATE[source]
DEPRECATE :str = DEPRECATE[source]
MANDATORY_DEPRECATE :str = MANDATORY_DEPRECATE[source]
PREVIEW_CMD :str = PREVIEW_CMD[source]
REARRANGE_NODES :str = REARRANGE_NODES[source]
UPGRADE_NODES :str = UPGRADE_NODES[source]
CANCEL :str = CANCEL[source]
GENERATE_CODE :str = GENERATE_CODE[source]
class plynx.constants.node_enums.NodePostStatus[source]

Standard HTTP response status

SUCCESS :str = SUCCESS[source]
FAILED :str = FAILED[source]
VALIDATION_FAILED :str = VALIDATION_FAILED[source]
class plynx.constants.node_enums.NodeClonePolicy[source]

Clone algorithm

NODE_TO_NODE :int = 0[source]
NODE_TO_RUN :int = 1[source]
RUN_TO_NODE :int = 2[source]
class plynx.constants.node_enums.NodeVirtualCollection[source]

Virtual collection

OPERATIONS :str = operations[source]
WORKFLOWS :str = workflows[source]
class plynx.constants.node_enums.SpecialNodeId[source]

Special Node IDs in the workflows

INPUT :ObjectId[source]
OUTPUT :ObjectId[source]
class plynx.constants.node_enums.NodeOrigin[source]

Enum that indicates where the Node came from

DB :str = DB[source]
BUILT_IN_HUBS :str = BUILT_IN_HUBS[source]
plynx.constants.node_enums.IGNORED_CACHE_PARAMETERS[source]