Source code for labgrid.protocol.filetransferprotocol

import abc


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