Package gavo :: Package protocols :: Module uws
[frames] | no frames]

Module uws

source code

Support classes for the universal worker service.
Classes
  UWSError
UWS-related errors, mainly to communicate with web renderers.
  JobNotFound
  UWS
a facade for a universal worker service (UWS).
  UWSWithQueueing
A UWS with support for queuing.
  ParameterRef
A UWS parameter.that is (in effect) a URL.
  JobParameter
A UWS job parameter.
  UploadParameter
A generic DALI-style upload facility.
  FileParameter
an uploaded file.
  UWSJobType
The metaclass for UWS jobs.
  BaseUWSJob
An abstract UWS job.
  UWSJobWithWD
A UWS job with a working directory.
  UWSTransitions
An abstract base for classes defining the behaviour of a UWS.
  SimpleUWSTransitions
A UWSTransitions with sensible transitions pre-defined.
  ProcessBasedUWSTransitions
A SimpleUWSTransistions that processes its stuff in a child process.
Functions
 
strOrEmpty(aVal)
returns a stringified version of aVal, except an empty string is returned when aVal is None.
source code
Variables
  END_STATES = set(['ABORTED', 'COMPLETED', 'ERROR'])
  EST_TIME_PER_JOB = datetime.timedelta(0, 600)
  __package__ = 'gavo.protocols'