Motov Yurii
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
0 deletions
-
tests/test_endpoint_with_async_class_decorator.py
|
@ -13,6 +13,8 @@ class SomeDecorator: |
|
|
return await self.route(*args, **kwargs) |
|
|
return await self.route(*args, **kwargs) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app = FastAPI() |
|
|
|
|
|
|
|
|
@app.get("/") |
|
|
@app.get("/") |
|
|
@SomeDecorator |
|
|
@SomeDecorator |
|
|
async def route1(): |
|
|
async def route1(): |
|
|