pex.post.pull.dd
¶
Module Contents¶
- class pex.post.pull.dd.DD¶
Bases:
object
Subclass of pex.post.pull module.
This subclass of pex.post.pull module is intended for providing implementation of dd method of pulling file from sender.
- pull(sender: Callable[Ellipsis, Any], location: str) bytes ¶
Pull file from sender using dd method.
- Parameters:
sender (Callable[..., Any]) – sender to pull file from
location (str) – location of file to pull
- Return bytes:
file data
- Raises:
RuntimeError – with trailing error message