Source code for labgrid.protocol.filetransferprotocol

import abc


[docs]class FileTransferProtocol(abc.ABC):
[docs] @abc.abstractmethod def put(self, filename: str, remotepath: str): raise NotImplementedError
[docs] @abc.abstractmethod def get(self, filename: str, destination: str): raise NotImplementedError