diff --git a/radicale_odoo_storage/__init__.py b/radicale_odoo_storage/__init__.py index 864cfaa..94b396c 100644 --- a/radicale_odoo_storage/__init__.py +++ b/radicale_odoo_storage/__init__.py @@ -136,19 +136,7 @@ class Collection(BaseCollection): @classmethod def discover(cls, path, depth="0"): - """Discover a list of collections under the given ``path``. - - ``path`` is sanitized. - - If ``depth`` is "0", only the actual object under ``path`` is - returned. - - If ``depth`` is anything but "0", it is considered as "1" and direct - children are included in the result. - - The root collection "/" must always exist. - - """ + """Discover implementation """ attributes = path.strip('/').split('/') or [] if path and not cls.user: cls.user = attributes[0]