You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.
Create an abstract class representing a user defined catalog
classCatalog(object):
""" An abstract class representing a user defined Catalog. All user defined catalogs should subclass it. All subclasses should override ``build_catalog``, ``activate_catalog``, ``search``, ``get_files``, """defbuild_catalog(self):
"""Builds catalog from a user defined YAML file"""raiseNotImplementedErrordefactivate_catalog(self):
"""Set the active catalog to work with"""raiseNotImplementedErrordefsearch(self):
"""Find entries matching a query"""raiseNotImplementedErrordefget_files(self):
"""Returns list of files matching a query"""raiseNotImplementedError
Brainstorming
Ccing @matt-long, let's discuss more about this.
The text was updated successfully, but these errors were encountered: