Python - job()

Creates a new Batch Job.

from nitric.resources import job
analyze = job("analyze")

Parameters

  • Name
    name
    Required
    Required
    Type
    string
    Description

    The unique name of this Batch Job within the app. Subsequent calls to job with the same name will return the same object.

Examples

Create a Job

from nitric.resources import job
analyze = job("analyze")

Create a Job with permissions to submit jobs

from nitric.resources import job
analyze = job("analyze").allow("submit")
Last updated on Nov 4, 2024