pex.post.pull

Submodules

Package Contents

class pex.post.pull.Pull

Bases: object

Main class of pex.post.pull module.

This main class of pex.post.pull module is intended for providing implementations of some functions for pulling files from sender.

pull(platform: pex.platform.types.Platform | str, method: pex.platform.types.Optional[str] = None, *args, **kwargs) bytes

Pull file from sender.

Parameters:
  • platform (Union[Platform, str]) – sender platform

  • method (Optional[str]) – pull method (see self.pull_methods)

Return bytes:

file data

Raises:

RuntimeError – with trailing error message