Skip to content

Commit 6eb3bf7

Browse files
fix type
1 parent 26348d0 commit 6eb3bf7

File tree

1 file changed

+2
-3
lines changed
  • packages/service-library/src/servicelib/fastapi/long_running_tasks

1 file changed

+2
-3
lines changed

packages/service-library/src/servicelib/fastapi/long_running_tasks/_client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,8 @@ def _client_configuration(self) -> ClientConfiguration:
131131
return output
132132

133133
def _get_url(self, path: str) -> str:
134-
return AnyHttpUrlLegacyAdapter.validate_python(
135-
f"{self._base_url}{self._client_configuration.router_prefix}{path}",
136-
)
134+
url = f"{self._base_url}{self._client_configuration.router_prefix}{path}"
135+
return f"{AnyHttpUrlLegacyAdapter.validate_python(url)}"
137136

138137
@retry_on_http_errors
139138
async def get_task_status(

0 commit comments

Comments
 (0)