Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion ansys/rep/client/jms/schema/task_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from marshmallow import fields

from .base import BaseSchema, ObjectSchema
from .object_reference import IdReferenceList
from .object_reference import IdReferenceList, IdReference


class SoftwareSchema(BaseSchema):
Expand Down Expand Up @@ -84,10 +84,13 @@ class Meta(ObjectSchema.Meta):
execution_command = fields.String(
allow_none=True, description="Command to execute the process step."
)
execution_script_id = IdReference(referenced_class="File", attribute=None, description="Application script to use")

execution_level = fields.Int(
description="Defines when this process step is executed if a sequence with multiple process steps is defined."
)
execution_context = fields.Dict(allow_none=True, description="Additional arguments to pass to the executing command")
environment = fields.Dict(allow_none=True, description="Environment variables to set for the executed process")
max_execution_time = fields.Float(
allow_none=True, description="Maximum time in seconds for executing the process step."
)
Expand Down