You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I have been running jobs.run_now_and_wait(job_id=job_id, timeout=timeout) for a while now with no issues. Today when I ran it I got this error: NotFound: Bad Target: /api/2.2/jobs/run-now.
Reproduction
from databricks.sdk import WorkspaceClient
from databricks.sdk.service import jobs
import datetime
w = WorkspaceClient()
timeout = datetime.timedelta(hours=20)
Expected behavior
The expected behavior is it will kick off the job it calls and when that job completes successfully the parent job will also complete successfully.
Is it a regression?
This worked last week with version 0.44.1.
Debug Logs
The SDK logs helpful debugging information when debug logging is enabled. Set the log level to debug by adding logging.basicConfig(level=logging.DEBUG) to your program, and include the logs here.
Other Information
OS: [e.g. macOS]
Version: [e.g. 0.1.0]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Description
I have been running jobs.run_now_and_wait(job_id=job_id, timeout=timeout) for a while now with no issues. Today when I ran it I got this error: NotFound: Bad Target: /api/2.2/jobs/run-now.
Reproduction
from databricks.sdk import WorkspaceClient
from databricks.sdk.service import jobs
import datetime
w = WorkspaceClient()
timeout = datetime.timedelta(hours=20)
Get job_id from existing job
run_by_id = w.jobs.run_now_and_wait(job_id=job_id, timeout=timeout)
Expected behavior
The expected behavior is it will kick off the job it calls and when that job completes successfully the parent job will also complete successfully.
Is it a regression?
This worked last week with version 0.44.1.
Debug Logs
The SDK logs helpful debugging information when debug logging is enabled. Set the log level to debug by adding
logging.basicConfig(level=logging.DEBUG)
to your program, and include the logs here.Other Information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: