Skip to content

Commit f0c143c

Browse files
fix url
1 parent 0a26c76 commit f0c143c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

services/clusters-keeper/src/simcore_service_clusters_keeper/modules/dask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async def ping_scheduler(
3434
require_encryption=True,
3535
)
3636
async with distributed.Client(
37-
url, asynchronous=True, timeout=_CONNECTION_TIMEOUT, security=security
37+
f"{url}", asynchronous=True, timeout=_CONNECTION_TIMEOUT, security=security
3838
):
3939
...
4040
return True

services/clusters-keeper/tests/unit/test_modules_dask.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
_authentication_types = [
2626
NoAuthentication(),
27-
TLSAuthentication.construct(
27+
TLSAuthentication.model_construct(
2828
**TLSAuthentication.model_config["json_schema_extra"]["examples"][0]
2929
),
3030
]
@@ -86,5 +86,5 @@ def _some_long_running_fct(sleep_time: int) -> str:
8686
busy=True,
8787
)
8888

89-
result = await future.result(timeout=2 * _SLEEP_TIME) # type: ignore
89+
result = await future.result(timeout=2 * _SLEEP_TIME)
9090
assert "seconds" in result

0 commit comments

Comments
 (0)