civis.utils.run_job¶
-
civis.utils.run_job(job_id, api_key=None, client=None, polling_interval=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_KEYenvironment variable will be used.- client: :class:`civis.APIClient`, optional
If not provided, an
civis.APIClientobject will be created from theCIVIS_API_KEY.- polling_interval : int or float, optional
The number of seconds between API requests to check whether a result is ready.
Returns: - results:
CivisFuture A CivisFuture object.