Warning

This document is for an in-development version of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.

galaxy.forms package

Submodules

galaxy.forms.forms module

FormDefinition and field factories

class galaxy.forms.forms.FormDefinitionFactory(form_types, field_type_factories)[source]

Bases: object

__init__(form_types, field_type_factories)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

new(form_type, name, description=None, fields=None, layout=None, form_definition_current=None)[source]

Return new FormDefinition.

from_elem(elem, form_definition_current=None)[source]

Return FormDefinition created from an xml element.

class galaxy.forms.forms.FormDefinitionFieldFactory[source]

Bases: object

type = None
new(name=None, label=None, required=False, helptext=None, default=None, visible=True, layout=None)[source]

Return new FormDefinition field.

from_elem(elem, layout=None)[source]

Return FormDefinition created from an xml element.

class galaxy.forms.forms.FormDefinitionTextFieldFactory[source]

Bases: galaxy.forms.forms.FormDefinitionFieldFactory

type = 'text'
new(name=None, label=None, required=False, helptext=None, default=None, visible=True, layout=None, area=False)[source]

Return new FormDefinition field.

from_elem(elem, layout=None)[source]

Return FormDefinition field created from an xml element.

class galaxy.forms.forms.FormDefinitionPasswordFieldFactory[source]

Bases: galaxy.forms.forms.FormDefinitionFieldFactory

type = 'password'
new(name=None, label=None, required=False, helptext=None, default=None, visible=True, layout=None, area=False)[source]

Return new FormDefinition field.

from_elem(elem, layout=None)[source]

Return FormDefinition field created from an xml element.

class galaxy.forms.forms.FormDefinitionAddressFieldFactory[source]

Bases: galaxy.forms.forms.FormDefinitionFieldFactory

type = 'address'
new(name=None, label=None, required=False, helptext=None, default=None, visible=True, layout=None)[source]

Return new FormDefinition field.

from_elem(elem, layout=None)[source]

Return FormDefinition field created from an xml element.

class galaxy.forms.forms.FormDefinitionWorkflowFieldFactory[source]

Bases: galaxy.forms.forms.FormDefinitionFieldFactory

type = 'workflow'
new(name=None, label=None, required=False, helptext=None, default=None, visible=True, layout=None)[source]

Return new FormDefinition field.

from_elem(elem, layout=None)[source]

Return FormDefinition field created from an xml element.

class galaxy.forms.forms.FormDefinitionWorkflowMappingFieldFactory[source]

Bases: galaxy.forms.forms.FormDefinitionFieldFactory

type = 'workflowmapping'
new(name=None, label=None, required=False, helptext=None, default=None, visible=True, layout=None)[source]

Return new FormDefinition field.

from_elem(elem, layout=None)[source]

Return FormDefinition field created from an xml element.

class galaxy.forms.forms.FormDefinitionHistoryFieldFactory[source]

Bases: galaxy.forms.forms.FormDefinitionFieldFactory

type = 'history'
new(name=None, label=None, required=False, helptext=None, default=None, visible=True, layout=None)[source]

Return new FormDefinition field.

from_elem(elem, layout=None)[source]

Return FormDefinition field created from an xml element.

class galaxy.forms.forms.FormDefinitionSelectFieldFactory[source]

Bases: galaxy.forms.forms.FormDefinitionFieldFactory

type = 'select'
new(name=None, label=None, required=False, helptext=None, default=None, visible=True, layout=None, options=[], checkboxes=False)[source]

Return new FormDefinition field.

from_elem(elem, layout=None)[source]

Return FormDefinition field created from an xml element.

galaxy.forms.forms.field

alias of galaxy.forms.forms.FormDefinitionHistoryFieldFactory