def list_jobs(self, limit: int=25, offset: int=0, expand_tasks: bool=False) -> List[Dict[(str, Any)]]:
    '\n        Lists the jobs in the Databricks Job Service.\n\n        :param limit: The limit/batch size used to retrieve jobs.\n        :param offset: The offset of the first job to return, relative to the most recently created job.\n        :param expand_tasks: Whether to include task and cluster details in the response.\n        :return: A list of jobs.\n        '
    has_more = True
    jobs = []
    while has_more:
        json = {'limit': limit, 'offset': offset, 'expand_tasks': expand_tasks}
        response = self._do_api_call(LIST_JOBS_ENDPOINT, json)
        jobs += (response['jobs'] if ('jobs' in response) else [])
        has_more = response.get('has_more', False)
        if has_more:
            offset += len(response['jobs'])
    return jobs
Lists the jobs in the Databricks Job Service.

:param limit: The limit/batch size used to retrieve jobs.
:param offset: The offset of the first job to return, relative to the most recently created job.
:param expand_tasks: Whether to include task and cluster details in the response.
:return: A list of jobs.
def list_jobs(self, limit: int=25, offset: int=0, expand_tasks: bool=False) -> List[Dict[(str, Any)]]:
    '\n        Lists the jobs in the Databricks Job Service.\n\n        :param limit: The limit/batch size used to retrieve jobs.\n        :param offset: The offset of the first job to return, relative to the most recently created job.\n        :param expand_tasks: Whether to include task and cluster details in the response.\n        :return: A list of jobs.\n        '
    has_more = True
    jobs = []
    while has_more:
        json = {'limit': limit, 'offset': offset, 'expand_tasks': expand_tasks}
        response = self._do_api_call(LIST_JOBS_ENDPOINT, json)
        jobs += (response['jobs'] if ('jobs' in response) else [])
        has_more = response.get('has_more', False)
        if has_more:
            offset += len(response['jobs'])
    return jobs