PyOpenWorm.simpleProperty module

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

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

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

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

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

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

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()[source]

Clears values set in all contexts

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