Library

class mss_dataserver.event.detection.Library(name)[source]

Bases: object

Manage detection catalogs.

Parameters

name (str) – The name of the library.

Variables

catalogs (dict) – The catalogs managed by the library. The key is the name of the catalog.

Methods

__init__(name)

Initialize the instance.

add_catalog(catalog)

Add one or more catalogs to the library.

clear()

Remove all catalogs.

get_catalogs_in_db(project)

Query the available catalogs in the database.

load_catalog_from_db(project, name[, …])

Load catalogs from the database.

remove_catalog(name)

Remove a catalog from the library.

Inheritence diagram

Inheritance diagram of mss_dataserver.event.detection.Library