File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2020from databricks .sdk .databricks .oauth import Token
2121from databricks .sdk .service .catalog import PermissionsChange
2222from databricks .sdk .service .iam import AccessControlRequest
23+ from databricks .sdk .service .jobs import JobAccessControlRequest
2324from databricks .sdk .version import __version__
2425
2526from .conftest import noop_credentials
@@ -287,9 +288,8 @@ def test_access_control_list(config, requests_mock):
287288 "http://localhost/api/2.2/jobs/create" ,
288289 request_headers = {"User-Agent" : config .user_agent },
289290 )
290-
291291 w = WorkspaceClient (config = config )
292- res = w .jobs .create (access_control_list = [AccessControlRequest (group_name = "group" )])
292+ res = w .jobs .create (access_control_list = [JobAccessControlRequest (group_name = "group" )])
293293
294294 assert requests_mock .call_count == 1
295295 assert requests_mock .called
You can’t perform that action at this time.
0 commit comments