PyOpenWorm.simpleProperty module

class PyOpenWorm.simpleProperty.ContextMappedPropertyClass(*args, **kwargs)[source]

Bases: yarom.mappedProperty.MappedPropertyClass, PyOpenWorm.contextualize.ContextualizableClass

class PyOpenWorm.simpleProperty.ContextualizedPropertyValue(value)[source]

Bases: yarom.propertyValue.PropertyValue

class PyOpenWorm.simpleProperty.DatatypeProperty(resolver, **kwargs)[source]

Bases: yarom.propertyMixins.DatatypePropertyMixin, PyOpenWorm.simpleProperty.PropertyCountMixin, PyOpenWorm.simpleProperty.RealSimpleProperty

get(self)[source]

Gets a config value from this Configureable’s conf

See also

Configure.get
class PyOpenWorm.simpleProperty.ObjectProperty(resolver=None, *args, **kwargs)[source]

Bases: PyOpenWorm.inverse_property.InversePropertyMixin, PyOpenWorm.simpleProperty._ContextualizingPropertySetMixin, PyOpenWorm.simpleProperty.PropertyCountMixin, PyOpenWorm.simpleProperty.RealSimpleProperty

get(self)[source]

Gets a config value from this Configureable’s conf

See also

Configure.get
class PyOpenWorm.simpleProperty.POCache[source]

Bases: tuple

The predicate-object cache object

class PyOpenWorm.simpleProperty.RealSimpleProperty(owner, **kwargs)[source]

Bases: PyOpenWorm.data.DataUser, PyOpenWorm.contextualize.Contextualizable

clear(self)[source]

Clears values set in all contexts

decontextualize(self)[source]

Return the object with all contexts removed

get(self)[source]

Gets a config value from this Configureable’s conf

See also

Configure.get
class PyOpenWorm.simpleProperty.UnionProperty(resolver, **kwargs)[source]

Bases: PyOpenWorm.simpleProperty._ContextualizingPropertySetMixin, PyOpenWorm.inverse_property.InversePropertyMixin, yarom.propertyMixins.UnionPropertyMixin, PyOpenWorm.simpleProperty.PropertyCountMixin, PyOpenWorm.simpleProperty.RealSimpleProperty

A Property that can handle either DataObjects or basic types

get(self)[source]

Gets a config value from this Configureable’s conf

See also

Configure.get