Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/c/i/ciel-HEAD/src/python/ciel/runtime/master/cluster_view.py   ciel(Download)
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
from ciel.runtime.master.job_pool import JOB_STATE_NAMES
from cherrypy._cperror import HTTPError
from ciel.runtime.task import TASK_STATES, TASK_STATE_NAMES
        for job_id in jobs:
            job = self.job_pool.get_job_by_id(job_id)
            job_string += table_row('Job', job_link(job), JOB_STATE_NAMES[job.state])
        job_string += '</table></body></html>'
        return job_string
        job_string += table_row('ID', job.id)
        job_string += table_row('Root task', task_link(job, job.root_task))
        job_string += table_row('State', JOB_STATE_NAMES[job.state])
        job_string += table_row('Output ref', ref_id_link(job, job.root_task.expected_outputs[0]))
        job_string += span_row('Task states')