def __init__(self, md_uri=''): Observable.__init__(self) self.md_uri = md_uri self.metadata = None config = ConfigAccess.instance().config['metadata'] self.service = metadataServices.get(config["service"], **config) self.read()
def __init__(self, md_uri: str): self.md_uri = md_uri self.metadata = None # RawDataContainer() config = ConfigAccess.instance().config['metadata'] self.service = metadataServices.get(config["service"], **config) try: self.read() except MetadataServiceError: self.metadata = RawDataContainer()
def __init__(self, process: Process): super().__init__() self.process = process config = ConfigAccess.instance().config['runner'] self.service = runnerServices.get(config['service'], **config) self.metadataservice = metadataServices.get( ConfigAccess.instance().config['metadata']['service'], **config) self._inputs = ( [] ) # list of {"name": "i", "uri": "/my/directory/", "filter": "\.tif$""} self._parameters = [] # [key1, value1, key2, value1, ...] self._output = '' # output uri (/my/output/folder) self._mode = '' self.output_uris = [] # list of generated outputs
def __init__(self): self.workspace_dir = ConfigAccess.instance().config['workspace'] config = ConfigAccess.instance().config['metadata'] self.service = metadataServices.get(config["service"], **config)
def __init__(self, md_uri: str = ''): self.md_uri = md_uri self.metadata = None # RunContainer() config = ConfigAccess.instance().config['metadata'] self.service = metadataServices.get(config["service"], **config) self.read()