Skip to content

Commit 755a3b2

Browse files
authored
🐛 Fix minor director-v0 typing bug (#7323)
Co-authored-by: Dustin Kaiser <[email protected]>
1 parent 8918afb commit 755a3b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

services/director/src/simcore_service_director/registry_proxy.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ async def _auth_registry_request( # noqa: C901
156156
return (resp_data, resp_headers)
157157
if auth_type == "Basic":
158158
# basic authentication should not be since we tried already...
159-
resp_wbasic = await getattr(session, method.lower())(url, auth=auth, **kwargs)
159+
resp_wbasic = await getattr(session, method.lower())(
160+
str(url), auth=auth, **kwargs
161+
)
160162
assert isinstance(resp_wbasic, httpx.Response) # nosec
161163
if resp_wbasic.status_code == status.HTTP_404_NOT_FOUND:
162164
raise ServiceNotAvailableError(service_name=f"{url}")

0 commit comments

Comments
 (0)