We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08f32ab commit d620252Copy full SHA for d620252
services/director-v2/src/simcore_service_director_v2/models/dynamic_services_scheduler.py
@@ -35,6 +35,7 @@
35
from pydantic import (
36
AnyHttpUrl,
37
BaseModel,
38
+ BeforeValidator,
39
ConfigDict,
40
Field,
41
StringConstraints,
@@ -476,7 +477,8 @@ def get_proxy_endpoint(self) -> AnyHttpUrl:
476
477
] = None
478
479
product_api_base_url: Annotated[
- AnyHttpUrl | None,
480
+ str | None,
481
+ BeforeValidator(lambda v: f"{AnyHttpUrl(v)}"),
482
Field(
483
description="Base URL for the current product's API.",
484
),
0 commit comments