Class AddToStore

Inheritance Relationships

Base Type

Class Documentation

AMSStore.AddToStore : public AMSStore.StoreCommand

Public Functions

__init__(self, entry=None, domain='', file='', metadata=None, copy=True, version=None, path=None, **kwargs)
Initializes the 'AddToStore' class with the specific query

Args:
    entry: Mandatory entry name to add the file to
    domain: Mandatory name of the ensemble to add the file to
    metadata: JSON-like string with key-values to match the kosh-store
    copy: copy the file from the initial location to the underlying store location
    version: Request a search for a specific version
__call__(self, store)

Protected Attributes

_entry = entry
_fn = Path(file)
_md = None
_copy = copy
_path = path
_version = version
_domain = domain