starlette-context (pypi): Middleware for Starlette that allows you to store and access the context data of a request. Can be used with logging so logs automatically use request headers such as x-request-id or x-correlation-id.
Keywords: middleware|starlette|fastapi|python|python3|starlette-context