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 5d9b5a3 commit 9fbb2f8Copy full SHA for 9fbb2f8
services/web/server/src/simcore_service_webserver/products/_service.py
@@ -1,5 +1,5 @@
1
from decimal import Decimal
2
-from typing import Any, cast
+from typing import Any
3
4
from aiohttp import web
5
from models_library.groups import GroupID
@@ -115,7 +115,7 @@ async def get_product_stripe_info(
115
):
116
msg = f"Missing product stripe for product {product_name}"
117
raise ValueError(msg)
118
- return cast(ProductStripeInfoGet, product_stripe_info) # mypy: not sure why
+ return product_stripe_info
119
120
121
async def get_template_content(app: web.Application, *, template_name: str):
0 commit comments