seddy.decider

SWF decider.

Classes:

Decider(workflows_spec_file, domain, task_list)

SWF decider.

Exceptions:

UnsupportedWorkflow

Decider doesn’t support workflow.

Functions:

run_app(workflows_spec_file, domain, task_list)

Run decider application.

class seddy.decider.Decider(workflows_spec_file: pathlib.Path, domain: str, task_list: str, identity: str = None)[source]

Bases: object

SWF decider.

Parameters
  • workflows_spec_file – workflows specifications file path

  • domain – SWF domain to poll in

  • task_list – SWF decider task-list

  • identity – decider identity, default: automatically generated from fully-qualified domain-name and a UUID

client

SWF client

Type

botocore.client.BaseClient

identity

name of decider to poll as

Type

str

Methods:

run()

Run decider.

run()[source]

Run decider.

exception seddy.decider.UnsupportedWorkflow[source]

Bases: LookupError

Decider doesn’t support workflow.

seddy.decider.run_app(workflows_spec_file: pathlib.Path, domain: str, task_list: str, identity: str = None)[source]

Run decider application.

Parameters
  • workflows_spec_file – workflows specifications file path

  • domain – SWF domain

  • task_list – SWF decider task-list

  • identity – decider identity, default: automatically generated