s3rius / FastAPI-template

Feature rich robust FastAPI template.
MIT License
1.9k stars 164 forks source link

Updated opentelemetry and fixed imports issue. #98

Closed s3rius closed 2 years ago

s3rius commented 2 years ago

This request updates all opentelemetry packages and adds aio-pika instrumentation.

Also this request completely resolves #95 problem, by updating mypy to the latest version and adding namespace_packages parameter to the mypy configuration. But after upgrading mypy to the latest version I found problem with redis type stubs. I had to add ignore rule to missing imports for redis.asyncio package in mypy config, because of this: https://github.com/python/typeshed/issues/8242.

Signed-off-by: Pavel Kirilin win10@list.ru