Skip to content

Commit 10e459f

Browse files
typecheck
1 parent 0e89788 commit 10e459f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ 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"
7679
allow_internet_access: bool = await groups_extra_properties.has_internet_access(
7780
user_id=scheduler_data.user_id, product_name=scheduler_data.product_name
7881
)

0 commit comments

Comments
 (0)