Source code for labgrid.provider.fileprovider

import abc


[docs]class FileProvider(abc.ABC): """Abstract class for the FileProvider""" @abc.abstractmethod
[docs] def get(self, name: str) -> dict: """ Get a dictionary of target paths to local paths for a given name. """ raise NotImplementedError
@abc.abstractmethod
[docs] def list(self): """ Get a list of names. """ raise NotImplementedError