aup.EE.Job module

Wrap Job information for aup.EE.Resource to execute.

APIs

class Job(script, config, path='.', retries=3)[source]

Bases: object

local_warning = True
verify_local()[source]

Verify the job script is correctly set - for local machine running only

Returns

whether all paths are set correctly

Return type

bool

verify_remote(remote, overwrite=False)[source]

Verify the files and folder are correct on the remote machine

Parameters
  • remote – paramiko.SSHClient

  • overwrite – whether to overwrite existing script file and folder

Returns

whether the files are set correctly

Return type

bool