Source code for labgrid.provider.fileprovider

import abc


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