hbp_nrp_commons.generated.environment_conf_api_gen module¶
-
CreateFromDOM
(node, default_namespace=None)[source]¶ Create a Python instance from the given DOM node. The node tag must correspond to an element declaration in this module.
@deprecated: Forcing use of DOM interface is unnecessary; use L{CreateFromDocument}.
-
CreateFromDocument
(xml_text, default_namespace=None, location_base=None)[source]¶ Parse the given XML and use the document element to create a Python instance.
@param xml_text An XML document. This should be data (Python 2 str or Python 3 bytes), or a text (Python 2 unicode or Python 3 str) in the L{pyxb._InputEncoding} encoding.
@keyword default_namespace The L{pyxb.Namespace} instance to use as the default namespace where there is no default namespace in scope. If unspecified or C{None}, the namespace of the module containing this function will be used.
@keyword location_base: An object to be recorded as the base of all L{pyxb.utils.utility.Location} instances associated with events and objects handled by the parser. You might pass the URI from which the document was obtained.
-
class
ModelConfiguration
(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinition
Complex type {http://schemas.humanbrainproject.eu/SP10/2017/environment_model_config}ModelConfiguration with content type ELEMENT_ONLY
Return the value for this use within the given instance.
Note that this is the L{resetValue()}, not the L{defaultValue()}, if the element has not yet been assigned a value.
-
property
description
¶ Return the value for this use within the given instance.
Note that this is the L{resetValue()}, not the L{defaultValue()}, if the element has not yet been assigned a value.
-
property
maturity
¶ The maturity of the model. Determines whether it is shown by default to the user or only browsable in dev mode.
-
property
name
¶ Return the value for this use within the given instance.
Note that this is the L{resetValue()}, not the L{defaultValue()}, if the element has not yet been assigned a value.
-
property
sdf
¶ Return the value for this use within the given instance.
Note that this is the L{resetValue()}, not the L{defaultValue()}, if the element has not yet been assigned a value.
-
property
thumbnail
¶ Return the value for this use within the given instance.
Note that this is the L{resetValue()}, not the L{defaultValue()}, if the element has not yet been assigned a value.
-
property
version
¶ Return the value for this use within the given instance.
Note that this is the L{resetValue()}, not the L{defaultValue()}, if the element has not yet been assigned a value.
Bases:
pyxb.binding.basis.complexTypeDefinition
Complex type {http://schemas.humanbrainproject.eu/SP10/2017/environment_model_config}author_type with content type ELEMENT_ONLY
Return the value for this use within the given instance.
Note that this is the L{resetValue()}, not the L{defaultValue()}, if the element has not yet been assigned a value.
Return the value for this use within the given instance.
Note that this is the L{resetValue()}, not the L{defaultValue()}, if the element has not yet been assigned a value.
-
class
maturity_type
(*args, **kw)[source]¶ Bases:
pyxb.binding.datatypes.string
,pyxb.binding.basis.enumeration_mixin
This type denotes a maturity of a model. It can either be development or production.
-
development
= 'development'¶
-
production
= 'production'¶
-
-
class
sdf_versioned
(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinition
Complex type {http://schemas.humanbrainproject.eu/SP10/2017/environment_model_config}sdf_versioned with content type SIMPLE
-
property
version
¶ Get the value of the attribute from the instance.
-
property