roboto.domain.actions.trigger_operations
Module Contents
CreateTriggerRequest
Bases: pydantic.BaseModel
Request payload to create a new trigger.
Contains all the configuration needed to create a trigger that automatically invokes actions when specific conditions are met.
Parameters
data AnyAttributes
CreateTriggerRequest.action_digest
Optional specific version digest of the action to invoke. If not provided, uses the latest version.
CreateTriggerRequest.action_name
Name of the action to invoke when the trigger fires.
CreateTriggerRequest.action_owner_id
Organization ID that owns the target action. If not provided, searches in the caller’s organization.
CreateTriggerRequest.additional_inputs
Optional additional file patterns to include in action invocations beyond the required inputs.
CreateTriggerRequest.causes
List of events that can cause this trigger to be evaluated. If not provided, uses default causes.
CreateTriggerRequest.compute_requirement_overrides
Optional compute requirement overrides for action invocations.
CreateTriggerRequest.condition
Optional condition that must be met for the trigger to fire.
Can filter based on metadata, file properties, etc.
CreateTriggerRequest.container_parameter_overrides
Optional container parameter overrides for action invocations.
CreateTriggerRequest.enabled
Whether the trigger should be active immediately after creation.
CreateTriggerRequest.for_each
Granularity of execution - Dataset or DatasetFile.
CreateTriggerRequest.name
Unique name for the trigger (alphanumeric, hyphens, underscores only, max 256 characters).
CreateTriggerRequest.parameter_values
Parameter values to pass to the action when invoked.
CreateTriggerRequest.required_inputs
List of file patterns that must be present for the trigger to fire. Uses glob patterns like ‘**/*.bag’.
CreateTriggerRequest.service_user_id
Optional service user ID for authentication.
CreateTriggerRequest.timeout
Optional timeout override for action invocations in minutes.
CreateTriggerRequest.validate_additional_inputs()
Parameters
value Optional[list[str]]Return type
CreateTriggerRequest.validate_required_inputs()
Parameters
value list[str]Return type
EvaluateTriggersRequest
Bases: pydantic.BaseModel
Request payload to manually evaluate specific triggers.
Used to force evaluation of triggers outside of their normal automatic evaluation cycle. This is typically used for testing or debugging trigger behavior.
Parameters
data AnyAttributes
EvaluateTriggersRequest.trigger_evaluation_ids
Collection of trigger evaluation IDs to process.
QueryTriggersRequest
Bases: pydantic.BaseModel
Request payload to query triggers with filters.
Used to search for triggers based on various criteria such as name, status, or other attributes.
Parameters
data AnyTriggerEvaluationsSummaryResponse
Bases: pydantic.BaseModel
Response containing summary information about trigger evaluations.
Provides high-level statistics about trigger evaluation status, useful for monitoring and debugging trigger performance.
Parameters
data AnyAttributes
UpdateTriggerRequest
Bases: pydantic.BaseModel
Request payload to update an existing trigger.
Contains the changes to apply to a trigger. 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
UpdateTriggerRequest.action_digest
New specific version digest of the action.
UpdateTriggerRequest.action_name
New action name to invoke.
UpdateTriggerRequest.action_owner_id
New organization ID that owns the target action.
UpdateTriggerRequest.additional_inputs
New additional file patterns to include.
UpdateTriggerRequest.causes
causes list[roboto.New list of events that can cause trigger evaluation.
UpdateTriggerRequest.compute_requirement_overrides
compute_requirement_overrides roboto.New compute requirement overrides.
UpdateTriggerRequest.condition
New condition that must be met for trigger to fire.
UpdateTriggerRequest.container_parameter_overrides
container_parameter_overrides roboto.New container parameter overrides.
UpdateTriggerRequest.enabled
New enabled status for the trigger.
UpdateTriggerRequest.for_each
for_each roboto.New execution granularity (Dataset or DatasetFile).
UpdateTriggerRequest.model_config
model_config #Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
UpdateTriggerRequest.parameter_values
New parameter values to pass to the action.
UpdateTriggerRequest.required_inputs
New list of required file patterns.
UpdateTriggerRequest.timeout
New timeout override for action invocations.