Attention

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

wsgidav.samples.virtual_dav_provider.VirtualResFile.getProperties

VirtualResFile.getProperties(mode, nameList=None)

Return properties as list of 2-tuples (name, value).

If mode is ‘propname’, then None is returned for the value.

name
the property name in Clark notation.
value
may have different types, depending on the status: - string or unicode: for standard property values. - etree.Element: for complex values. - DAVError in case of errors. - None: if mode == ‘propname’.

@param mode: “allprop”, “propname”, or “named” @param nameList: list of property names in Clark Notation (required for mode ‘named’)

This default implementation basically calls self.getPropertyNames() to get the list of names, then call self.getPropertyValue on each of them.