Verify that __wrapped__ is traversed more than one level.

This commit is contained in:
Lucas Wiman 2022-06-24 10:35:02 -07:00
parent 6341bc38a2
commit cd17a8ceaf
1 changed files with 1 additions and 0 deletions

View File

@ -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)))