galaxy.external_services package

Submodules

galaxy.external_services.actions module

class galaxy.external_services.actions.PopulatedExternalServiceAction(action, param_dict)[source]

Bases: object

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

Bases: object

Abstract Class for External Service Actions

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

Bases: object

__init__(name, param_dict)[source]
content
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.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

type = 'web_api'
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]
class galaxy.external_services.actions.ExternalServiceWebAction(elem, parent)[source]

Bases: galaxy.external_services.actions.ExternalServiceAction

Action that accesses an external web application

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

Bases: galaxy.external_services.actions.ExternalServiceAction

Action that redirects to an external URL

type = 'template'
__init__(elem, parent)[source]
perform_action(param_dict)[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

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

Bases: galaxy.external_services.parameters.ExternalServiceParameter

Parameter that returns a string containing the requested content

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

galaxy.external_services.service module

class galaxy.external_services.service.ExternalServiceActionsGroup(parent, name, label=None)[source]

Bases: object

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

Return ExternalServiceActionsGroup created from an xml element.

load_sub_elems(elem)[source]
add_item(item)[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

type = 'when'
classmethod from_elem(parent, elem)[source]

Loads the proper when by attributes of elem

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

Bases: galaxy.external_services.service.ExternalServiceActionsGroupWhen

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

Returns an instance of this when

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

Bases: galaxy.external_services.service.ExternalServiceActionsGroupWhen

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

Returns an instance of this when

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

Bases: galaxy.external_services.service.ExternalServiceActionsGroupWhen

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

Returns an instance of this when

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

Bases: object

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

Bases: list

__init__(name, label)[source]
has_action()[source]
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]
populate()[source]
perform_action_by_name(actions_list)[source]
get_action_by_name(actions_list)[source]
galaxy.external_services.service.class_type

alias of ItemIsInstanceExternalServiceActionsGroupWhen