Utils

INTERNAL

class botoflow.utils.WorkflowDetails(name, version, skip_registration, registration_options)
name

Alias for field number 0

registration_options

Alias for field number 3

skip_registration

Alias for field number 2

version

Alias for field number 1

botoflow.utils.camel_keys_to_snake_case(dictionary)

Translate a dictionary containing camelCase keys into dictionary with snake_case keys that match python kwargs well.

botoflow.utils.extract_workflow_details_from_class(cls)
botoflow.utils.extract_workflows_dict(workflow_definitions)
botoflow.utils.pairwise(iterable)

from the itertools recipes s -> (s0,s1), (s1,s2), (s2, s3), (s3, None)...

botoflow.utils.random_sha1_hash()
botoflow.utils.snake_keys_to_camel_case(dictionary)

Translate a dictionary containing snake_case keys into dictionary with camelCase keys as required for decision dicts.

botoflow.utils.str_or_NONE(value)

If the value is None returns a "NONE"", otherwise returns str(value)