File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
services/director-v2/tests/unit/with_dbs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ async def test_local_dask_gateway_server(local_dask_gateway_server: DaskGatewayS
8585
8686 async with cluster .get_client () as client :
8787 print (f"--> created new client { client = } , submitting a job" )
88- res = await client .submit (lambda x : x + 1 , 1 ) # type: ignore
88+ res = await client .submit (lambda x : x + 1 , 1 )
8989 assert res == 2
9090
9191 print (f"--> scaling cluster { cluster = } back to 0" )
@@ -155,7 +155,7 @@ async def test_get_cluster_details(
155155 authentication = SimpleAuthentication (
156156 username = gateway_username ,
157157 password = SecretStr (local_dask_gateway_server .password ),
158- ).dict ( by_alias = True ),
158+ ).model_dump ( mode = "json" , by_alias = True ),
159159 )
160160 # in its present state, the cluster should have no workers
161161 cluster_out = await _get_cluster_details (
You can’t perform that action at this time.
0 commit comments