Skip to content

Commit a18a76a

Browse files
gkiko10hectorcast-db
authored andcommitted
Add changelog
1 parent 942a91e commit a18a76a

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

NEXT_CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### Documentation
1010

1111
### Internal Changes
12+
* Update Jobs ListJobs API to support paginated responses ([#896](https://github.com/databricks/databricks-sdk-py/pull/896))
1213
* Introduce automated tagging ([#888](https://github.com/databricks/databricks-sdk-py/pull/888))
1314
* Update Jobs GetJob API to support paginated responses ([#869](https://github.com/databricks/databricks-sdk-py/pull/869)).
1415

tests/test_jobs_mixin.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -494,12 +494,15 @@ def test_list_jobs_with_many_tasks(config, requests_mock):
494494
getjob_400_page1 = {
495495
"job_id": 400,
496496
"settings": {
497-
"tasks": [{
498-
"task_key": "taskkey401"
499-
}, {
500-
"task_key":
501-
"taskkey403" # jobs/get returns tasks in different order. jobs/get order is the ground truth
502-
}],
497+
"tasks": [
498+
{
499+
"task_key": "taskkey401"
500+
},
501+
{
502+
"task_key":
503+
"taskkey403" # jobs/get returns tasks in different order. jobs/get order is the ground truth
504+
}
505+
],
503506
"job_clusters": [cluster1.as_dict()]
504507
},
505508
"next_page_token": "tokenToSecondPage_400"

0 commit comments

Comments
 (0)