mirror of https://github.com/tiangolo/fastapi.git
Verify that __wrapped__ is traversed more than one level.
This commit is contained in:
parent
6341bc38a2
commit
cd17a8ceaf
|
|
@ -22,3 +22,4 @@ def test_wrapped_method_type_inference():
|
|||
"""
|
||||
app = FastAPI()
|
||||
app.get("/endpoint")(passthrough(forwardref_method))
|
||||
app.get("/endpoint2")(passthrough(passthrough(forwardref_method)))
|
||||
|
|
|
|||
Loading…
Reference in New Issue