sagemaker.core.workflow.entities#

Defines the base entities used in workflow.

Classes

DefaultEnumMeta(cls, bases, classdict, **kwds)

An EnumMeta which defaults to the first value in the Enum list.

Entity()

Base object for workflow entities.

class sagemaker.core.workflow.entities.DefaultEnumMeta(cls, bases, classdict, **kwds)[source]#

Bases: EnumMeta

An EnumMeta which defaults to the first value in the Enum list.

default = <object object>#
factory(*args, value=<object object>, **kwargs)#

Defaults to the first value in the Enum list.

class sagemaker.core.workflow.entities.Entity[source]#

Bases: ABC

Base object for workflow entities.

Entities must implement the to_request method.

abstract to_request() Dict[str, Any] | List[Dict[str, Any]][source]#

Get the request structure for workflow service calls.