def get_job_id(self, run_id: int) -> int:
    '\n        Retrieves job_id from run_id.\n\n        :param run_id: id of the run\n        :return: Job id for given Databricks run\n        '
    json = {'run_id': run_id}
    response = self._do_api_call(GET_RUN_ENDPOINT, json)
    return response['job_id']
Retrieves job_id from run_id.

:param run_id: id of the run
:return: Job id for given Databricks run
def get_job_id(self, run_id: int) -> int:
    '\n        Retrieves job_id from run_id.\n\n        :param run_id: id of the run\n        :return: Job id for given Databricks run\n        '
    json = {'run_id': run_id}
    response = self._do_api_call(GET_RUN_ENDPOINT, json)
    return response['job_id']