Skip to content

Commit 38d7853

Browse files
remove assert
1 parent 26e1892 commit 38d7853

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

services/director-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/scheduler/_core/_events_user_services.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ async def submit_compose_sepc(app: FastAPI, scheduler_data: SchedulerData) -> No
7373
assert (
7474
scheduler_data.product_name is not None # nosec
7575
), "ONLY for legacy. This function should not be called with product_name==None"
76-
assert (
77-
scheduler_data.product_api_base_url is not None # nosec
78-
), "ONLY for legacy. This function should not be called with product_api_base_url==None"
7976
allow_internet_access: bool = await groups_extra_properties.has_internet_access(
8077
user_id=scheduler_data.user_id, product_name=scheduler_data.product_name
8178
)

0 commit comments

Comments
 (0)