Python API: samgridBatchAdmin v8_1_5 samgridBatchAdmin.addProjectQueue()
|  |
This is the python interface to the command 'samgridBatchAdmin add project queue'.
Command Description:
Add a project queue (could be associated with a consumer queue)
to a given batch adapter in the station configuration. Project
queues should be used in those cases where project is submitted
to the batch system. If project queue has an associated consumer queue,
the consumer jobs will be re-submitted there, otherwise they
will run within the same (project's) batch slot.
For a full description of available queue types and their usages
please see the SAM Batch Adapter documentation.
Python Usage:
from SamgridBatchAdmin import samgridBatchAdmin
result = samgridBatchAdmin.addProjectQueue(...)
Return value:
Arguments are passed as keyword-value pairs, as in:
myfunc(arg1='myarg', arg2='anotherarg', d=1)
Argument Keyword Description:
(*) indicates that this keyword is required
>>> indicates that either the API object or the CLI equivalent (<<<) is required
====================================================================================================================================
KEYWORD DATA TYPE DESCRIPTION
------------------------------------------------------------------------------------------------------------------------------------
(*) adapter string batch adapter name
consumerQueue string consumer queue
d SamBoolean debug flag
description string description string
(*) queue string batch queue name
(*) station string station name
v SamBoolean verbose flag
====================================================================================================================================
Environment Defaults:
station = os.environ['SAM_STATION']
See Also: