galaxy.external_services package

Submodules

galaxy.external_services.actions module

class galaxy.external_services.actions.ExternalServiceAction(elem, parent)[source]

Bases: object

Abstract Class for External Service Actions

__init__(elem, parent)[source]
classmethod from_elem(elem, parent)[source]
handle_action(completed_action, param_dict, trans)[source]
perform_action(param_dict)[source]
populate_action(param_dict)[source]
type = None
class galaxy.external_services.actions.ExternalServiceResult(name, param_dict)[source]

Bases: object

__init__(name, param_dict)[source]
content
class galaxy.external_services.actions.ExternalServiceTemplateAction(elem, parent)[source]

Bases: galaxy.external_services.actions.ExternalServiceAction

Action that redirects to an external URL

__init__(elem, parent)[source]
perform_action(param_dict)[source]
type = 'template'
class galaxy.external_services.actions.ExternalServiceValueResult(name, param_dict, value)[source]

Bases: galaxy.external_services.actions.ExternalServiceResult

__init__(name, param_dict, value)[source]
content
class galaxy.external_services.actions.ExternalServiceWebAPIAction(elem, parent)[source]

Bases: galaxy.external_services.actions.ExternalServiceAction

Action that accesses an external Web API and provides handlers for the requested content

class ExternalServiceWebAPIActionRequest(elem, parent)[source]

Bases: object

__init__(elem, parent)[source]
get_web_api_action(param_dict)[source]
ExternalServiceWebAPIAction.__init__(elem, parent)[source]
ExternalServiceWebAPIAction.perform_action(param_dict)[source]
ExternalServiceWebAPIAction.type = 'web_api'
class galaxy.external_services.actions.ExternalServiceWebAPIActionResult(name, param_dict, url, method, target)[source]

Bases: galaxy.external_services.actions.ExternalServiceResult

__init__(name, param_dict, url, method, target)[source]
content
class galaxy.external_services.actions.ExternalServiceWebAction(elem, parent)[source]

Bases: galaxy.external_services.actions.ExternalServiceAction

Action that accesses an external web application

__init__(elem, parent)[source]
type = 'web'
class galaxy.external_services.actions.PopulatedExternalServiceAction(action, param_dict)[source]

Bases: object

__init__(action, param_dict)[source]
handle_results(trans)[source]
perform_action()[source]
class galaxy.external_services.actions.Template(elem, parent)[source]

Bases: object

__init__(elem, parent)[source]
build_template(param_dict)[source]

galaxy.external_services.parameters module

class galaxy.external_services.parameters.ExternalServiceParameter(elem, parent)[source]

Bases: object

Abstract Class for External Service Parameters

__init__(elem, parent)[source]
classmethod from_elem(elem, parent)[source]
get_value(param_dict)[source]
requires_user_input = False
type = None
class galaxy.external_services.parameters.ExternalServiceTemplateParameter(elem, parent)[source]

Bases: galaxy.external_services.parameters.ExternalServiceParameter

Parameter that returns a string containing the requested content

__init__(elem, parent)[source]
get_value(param_dict)[source]
type = 'template'

galaxy.external_services.service module

class galaxy.external_services.service.ActionSection(name, label)[source]

Bases: list

__init__(name, label)[source]
has_action()[source]
class galaxy.external_services.service.BooleanExternalServiceActionsGroupWhen(parent, name, value, label=None)[source]

Bases: galaxy.external_services.service.ExternalServiceActionsGroupWhen

__init__(parent, name, value, label=None)[source]
classmethod from_elem(parent, elem)[source]

Returns an instance of this when

is_case(param_dict)[source]
type = 'boolean'
class galaxy.external_services.service.ExternalServiceActionsConditional(elem, parent)[source]

Bases: object

__init__(elem, parent)[source]
get_current_cases(param_dict)[source]
type = 'conditional'
class galaxy.external_services.service.ExternalServiceActionsGroup(parent, name, label=None)[source]

Bases: object

__init__(parent, name, label=None)[source]
add_item(item)[source]
classmethod from_elem(elem, parent=None)[source]

Return ExternalServiceActionsGroup created from an xml element.

load_sub_elems(elem)[source]
populate(service_instance, item=None, param_dict=None)[source]
prepare_actions(param_dict, parent_dict, parent_section)[source]
class galaxy.external_services.service.ExternalServiceActionsGroupWhen(parent, name, label=None)[source]

Bases: galaxy.external_services.service.ExternalServiceActionsGroup

classmethod from_elem(parent, elem)[source]

Loads the proper when by attributes of elem

get_ref(param_dict)[source]
is_case(param_dict)[source]
type = 'when'
class galaxy.external_services.service.ItemIsInstanceExternalServiceActionsGroupWhen(parent, name, value, label=None)[source]

Bases: galaxy.external_services.service.ExternalServiceActionsGroupWhen

__init__(parent, name, value, label=None)[source]
classmethod from_elem(parent, elem)[source]

Returns an instance of this when

is_case(param_dict)[source]
type = 'item_type'
class galaxy.external_services.service.PopulatedExternalService(service_group, service_instance, item, param_dict=None)[source]

Bases: object

__init__(service_group, service_instance, item, param_dict=None)[source]
get_action_by_name(actions_list)[source]
perform_action_by_name(actions_list)[source]
populate()[source]
class galaxy.external_services.service.ValueExternalServiceActionsGroupWhen(parent, name, value, label=None)[source]

Bases: galaxy.external_services.service.ExternalServiceActionsGroupWhen

__init__(parent, name, value, label=None)[source]
classmethod from_elem(parent, elem)[source]

Returns an instance of this when

is_case(param_dict)[source]
type = 'value'
galaxy.external_services.service.class_type

alias of ItemIsInstanceExternalServiceActionsGroupWhen