Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jobs/list limit to match api documentation [FEATURE] #260

Open
benjaminhuus32 opened this issue Aug 1, 2023 · 2 comments · May be fixed by #279
Open

jobs/list limit to match api documentation [FEATURE] #260

benjaminhuus32 opened this issue Aug 1, 2023 · 2 comments · May be fixed by #279

Comments

@benjaminhuus32
Copy link

Description
Unless I'm misunderstanding, I believe the limit for WorkspaceClient().jobs.list(limit=x) should be 100, according to the cli documentation. Right now, I'm getting an error that the limit can be no more than 25.

Reproduction
from databricks.sdk import WorkspaceClient
w = WorkspaceClient(host='', token='')

for job in w.jobs.list(limit=99):
print(job)

Expected behavior
This should print out the job objects. Currently it only works for 25 items or less.

Proposed Solution
Increase limit of the number of objects returned

Additional Context
Add any other context, references or screenshots about the feature request here.

@mgyucht
Copy link
Contributor

mgyucht commented Aug 3, 2023

I believe this limit is in the process of being updated. Let me confirm with the Jobs team.

@oleksiidav
Copy link

@benjaminhuus32 do you happen to have a specific error message?

@nfx nfx linked a pull request Aug 14, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants