Skip to content

Commit 9fbb2f8

Browse files
committed
cleanup
1 parent 5d9b5a3 commit 9fbb2f8

File tree

1 file changed

+2
-2
lines changed
  • services/web/server/src/simcore_service_webserver/products

1 file changed

+2
-2
lines changed

services/web/server/src/simcore_service_webserver/products/_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from decimal import Decimal
2-
from typing import Any, cast
2+
from typing import Any
33

44
from aiohttp import web
55
from models_library.groups import GroupID
@@ -115,7 +115,7 @@ async def get_product_stripe_info(
115115
):
116116
msg = f"Missing product stripe for product {product_name}"
117117
raise ValueError(msg)
118-
return cast(ProductStripeInfoGet, product_stripe_info) # mypy: not sure why
118+
return product_stripe_info
119119

120120

121121
async def get_template_content(app: web.Application, *, template_name: str):

0 commit comments

Comments
 (0)