wsgidav.samples.mongo_dav_provider.ConnectionCollection.get_descendants¶
- ConnectionCollection.get_descendants(*, collections=True, resources=True, depth_first=False, depth='infinity', add_self=False)¶
Return a list _DAVResource objects of a collection (children, grand-children, …).
This default implementation calls self.get_member_list() recursively.
This function may also be called for non-collections (with add_self=True).
- Parameters:
- depth_firstbool
use <False>, to list containers before content. (e.g. when moving / copying branches.) Use <True>, to list content before containers. (e.g. when deleting branches.)
- depthstring
‘0’ | ‘1’ | ‘infinity’