mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-08-02 11:31:52 +08:00
fastapi: fix wrapping of middlewares (#3012)
* fastapi: fix wrapping of middlewares * fix import, super * add test * changelog * lint * lint * fix * ci * fix wip * fix * fix * lint * lint * Exit? * Update test_fastapi_instrumentation.py Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> * remove break * fix * remove dunders * add test * lint * add endpoint to class * fmt * pr feedback * move type ignores * fix sphinx? * Update CHANGELOG.md * update fastapi versions * fix? * generate * stop passing on user-supplied error handler This prevents potential side effects, such as logging, to be executed more than once per request handler exception. * fix ci Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * fix ruff Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * remove unused funcs Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com> * fix lint,ruff Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * fix changelog Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * add changelog note Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * fix conflicts with main Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --------- Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Co-authored-by: Alexander Dorn <ad@not.one> Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
This commit is contained in:

committed by
GitHub

parent
dbdff31220
commit
4d6893e8fa
@ -44,6 +44,7 @@ py-class=
|
||||
psycopg.Connection
|
||||
psycopg.AsyncConnection
|
||||
ObjectProxy
|
||||
fastapi.applications.FastAPI
|
||||
|
||||
any=
|
||||
; API
|
||||
|
Reference in New Issue
Block a user