def run_with_configuration(self, configuration):
        jobs = self.service.jobs()
        job_data = {
            'configuration': configuration
        }

        # Send query and wait for reply.
        query_reply = jobs \
            .insert(projectId=self.project_id, body=job_data) \
            .execute()
        job_id = query_reply['jobReference']['jobId']
        job = jobs.get(projectId=self.project_id, jobId=job_id).execute()

        # Wait for query to finish.
        while not job['status']['state'] == 'DONE':
            logging.info('Waiting for job to complete: %s, %s', self.project_id, job_id)
            time.sleep(5)
            job = jobs.get(projectId=self.project_id, jobId=job_id).execute()

        # Check if job had errors.
        if 'errorResult' in job['status']:
            raise Exception(
                'BigQuery job failed. Final error was: %s', job['status']['errorResult'])

        return job_id
Deletes the current session, or the one specified in ``session_key``.
dataset/ETHPy150Open airbnb/airflow/airflow/contrib/hooks/bigquery_hook.py/BigQueryBaseCursor.run_with_configuration--crossover with--dataset/ETHPy150Open gtaylor/django-dynamodb-sessions/dynamodb_sessions/backends/dynamodb.py/SessionStore.delete