civis.utils.run_job

civis.utils.run_job(job_id, client=None, polling_interval=None)[source]

Run a job.

Parameters:
job_id: str or int

The ID of the job.

client: :class:`civis.APIClient`, optional

If not provided, an civis.APIClient object will be created from the CIVIS_API_KEY.

polling_intervalint or float, optional

The number of seconds between API requests to check whether a result is ready.

Returns:
results: CivisFuture

A CivisFuture object.