sevenbridges.models.compound.tasks package

sevenbridges.models.compound.tasks.map_input_output(item, api)[source]

Maps item to appropriate sevebridges object. :param item: Input/Output value. :param api: Api instance. :return: Mapped object.


sevenbridges.models.compound.tasks.batch_by module

class sevenbridges.models.compound.tasks.batch_by.BatchBy(**kwargs)[source]

Bases: sevenbridges.meta.resource.Resource, dict

Task batch by resource.

update([E, ]**F) → None. Update D from dict/iterable E and F.[source]

If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]

sevenbridges.models.compound.tasks.batch_group module

class sevenbridges.models.compound.tasks.batch_group.BatchGroup(**kwargs)[source]

Bases: sevenbridges.meta.resource.Resource

Batch group for a batch task. Represents the group that is assigned to the child task from the batching criteria that was used when the task was started.

fields = None
value = None

sevenbridges.models.compound.tasks.execution_status module

class sevenbridges.models.compound.tasks.execution_status.ExecutionStatus(**kwargs)[source]

Bases: sevenbridges.meta.resource.Resource

Task execution status resource.

Contains information about the number of completed task steps, total number of task steps, current execution message and information regarding computation limits.

In case of a batch task it also contains the number of queued, running, completed, failed and aborted tasks.

aborted = None
account_limit = None
completed = None
duration = None
execution_duration = None
failed = None
instance_init = None
message = None
message_code = None
queued = None
queued_duration = None
running = None
running_duration = None
steps_completed = None
steps_total = None
system_limit = None

sevenbridges.models.compound.tasks.input module

class sevenbridges.models.compound.tasks.input.Input(**kwargs)[source]

Bases: sevenbridges.meta.comp_mutable_dict.CompoundMutableDict, sevenbridges.meta.resource.Resource

Task input resource.

sevenbridges.models.compound.tasks.output module

class sevenbridges.models.compound.tasks.output.Output(**kwargs)[source]

Bases: sevenbridges.meta.comp_mutable_dict.CompoundMutableDict, sevenbridges.meta.resource.Resource

Task output resource.