civis.utils.run_job

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

Run a job.

Parameters:
job_id: str or int

The ID of the job.

api_key: DEPRECATED str, optional

Your Civis API key. If not given, the CIVIS_API_KEY environment variable will be used.

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

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

Returns:
results: CivisFuture

A CivisFuture object.