RepoImportBackend¶
-
class
lsst.daf.butler.
RepoImportBackend
¶ Bases:
abc.ABC
An abstract interface for data repository import implementations.
Methods Summary
load
(registry, datastore, *, directory, transfer)Import all information associated with the backend into the given registry and datastore. Methods Documentation
-
load
(registry: Registry, datastore: Datastore, *, directory: Optional[str] = None, transfer: Optional[str] = None)¶ Import all information associated with the backend into the given registry and datastore.
Import backends are expected to be constructed with a description of the objects that need to be imported (from, e.g., a file written by the corresponding export backend).
Parameters: - registry :
Registry
Registry to import into.
- datastore :
Datastore
Datastore to import into.
- directory :
str
, optional File all dataset paths are relative to.
- transfer :
str
, optional Transfer mode forwarded to
Datastore.ingest
.
- registry :
-