Attention

You are looking at outdated documentation for version 2.x. A newer version is available.

wsgidav.dav_provider.DAVCollection.getPropertyValue

DAVCollection.getPropertyValue(propname)

Return the value of a property.

propname:
the property name in Clark notation.
return value:

may have different types, depending on the status:

  • string or unicode: for standard property values.
  • lxml.etree.Element: for complex values.

If the property is not available, a DAVError is raised.

This default implementation handles {DAV:}lockdiscovery and {DAV:}supportedlock using the associated lock manager.

All other live properties (i.e. propname starts with {DAV:}) are delegated to the self.xxx() getters.

Finally, other properties are considered dead, and are handled by the associated property manager.