Factory Python Module

Factory for returning a Archive backend.

New Backends must be added to the __share_classes list and that class needs to be imported in

Call the factory like the following: FACTORY = ArchiveBackendFactory() BACKEND = FACTORY.get_backend_archive(type, prefix)

class pacifica.archiveinterface.backends.factory.ArchiveBackendFactory[source]

Factory Class for Archive Backends.

get_backend_archive(name, prefix)[source]

Method for creating an instance of the backend archive.


Method for loading in the correct backend type.

Only want to load backend type being used.

share_classes = {}