pex.post.push

Submodules

Package Contents

class pex.post.push.Push

Bases: object

Main class of pex.post.push module.

This main class of pex.post.push module is intended for providing implementations of some functions for pushing files to sender.

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

Push file to sender.

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

  • location (str) – location of file to push data to

  • method (Optional[str]) – push method (see self.push_methods)

Return str:

location of pushed file

Raises:

RuntimeError – with trailing error message