Skip to content

Commit 40c3fc8

Browse files
committed
fix: wrong name param to fastapi router
1 parent fac38f3 commit 40c3fc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interactions_restful/backends/fast_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
class FastApiRouter(BaseRouter):
1212
def __init__(self, **kwargs):
13+
kwargs.pop("name") # neccessary only for flask
1314
self.api_router = APIRouter(**kwargs)
1415

1516
def add_endpoint_method(self, coro: Callable[..., Coroutine], endpoint: str, method: str, **kwargs):

0 commit comments

Comments
 (0)