roboto.domain.actions.action_operations
Module Contents
CreateActionRequest
Bases: pydantic.BaseModel
Request payload to create a new action.
Contains all the configuration needed to create a new action in the Roboto platform, including container settings, compute requirements, parameters, and metadata.
Parameters
data AnyAttributes
CreateActionRequest.compute_requirements
CPU, memory, and other compute specifications.
CreateActionRequest.container_parameters
Container image URI, entrypoint, and environment variables.
CreateActionRequest.description
Detailed description of what the action does.
CreateActionRequest.inherits
Reference to another action to inherit configuration from.
CreateActionRequest.metadata
Custom key-value metadata to associate with the action.
CreateActionRequest.parameters
List of parameters that can be provided at invocation time.
CreateActionRequest.requires_downloaded_inputs
Whether input files should be downloaded before execution.
CreateActionRequest.short_description
Brief description (max 140 characters) for display purposes.
CreateActionRequest.timeout
Maximum execution time in minutes before the action is terminated.
CreateActionRequest.uri
Container image URI if not inheriting from another action.
SetActionAccessibilityRequest
Bases: pydantic.BaseModel
Request payload to set action accessibility.
Used to change whether an action is private to the organization or published publicly in the Action Hub.
Parameters
data AnyAttributes
SetActionAccessibilityRequest.accessibility
The new accessibility level (Organization or ActionHub).
SetActionAccessibilityRequest.digest
Specific version of Action. If not specified, the latest version’s accessibility will be updated.
SetActionAccessibilityRequest.model_config
model_config #Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
UpdateActionRequest
Bases: pydantic.BaseModel
Request payload to update an action.
Contains the changes to apply to an existing action. Only specified fields will be updated; others remain unchanged. Uses NotSet sentinel values to distinguish between explicit None values and unspecified fields.
Parameters
data AnyAttributes
UpdateActionRequest.compute_requirements
compute_requirements roboto.New compute requirements (CPU, memory).
UpdateActionRequest.container_parameters
container_parameters roboto.New container parameters (image, entrypoint, etc.).
UpdateActionRequest.description
New detailed description.
UpdateActionRequest.inherits
New action reference to inherit from.
UpdateActionRequest.metadata_changeset
Changes to apply to metadata (add, remove, update keys).
UpdateActionRequest.model_config
model_config #Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
UpdateActionRequest.parameter_changeset
parameter_changeset roboto.Changes to apply to parameters (add, remove, update).
UpdateActionRequest.requires_downloaded_inputs
Whether to download input files before execution.
UpdateActionRequest.short_description
New brief description (max 140 characters).
UpdateActionRequest.timeout
New maximum execution time in minutes.