Remove __init__ from BaseCollection
It's not used anywhere
This commit is contained in:
parent
a4fc123286
commit
12f9ac44c2
@ -322,15 +322,6 @@ class BaseCollection:
|
|||||||
configuration = None
|
configuration = None
|
||||||
logger = None
|
logger = None
|
||||||
|
|
||||||
def __init__(self, path, principal=False):
|
|
||||||
"""Initialize the collection.
|
|
||||||
|
|
||||||
``path`` must be the normalized relative path of the collection, using
|
|
||||||
the slash as the folder delimiter, with no leading nor trailing slash.
|
|
||||||
|
|
||||||
"""
|
|
||||||
raise NotImplementedError
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def discover(cls, path, depth="0"):
|
def discover(cls, path, depth="0"):
|
||||||
"""Discover a list of collections under the given ``path``.
|
"""Discover a list of collections under the given ``path``.
|
||||||
|
Loading…
Reference in New Issue
Block a user