-
### Describe your environment
Python version: 3.12.4
SDK version: 1.25.0
API version: 1.25.0
### What happened?
TypeError from opentelemetry.context.contextvars_context in detach.
The function…
-
### What version of gRPC and what language are you using?
1.68.0.dev0
41dc97e1d66f32d95fdf016641164d9f7dc6fb94
Python
### What operating system (Linux, Windows,...) and version?
Linux…
denik updated
1 month ago
-
When typechecking the following code:
```python
from structlog.typing import Processor
shared_processors: tuple[Processor, ...] = (
structlog.contextvars.merge_contextvars,
structlog.process…
-
### Requested Feature
This is a long term plan: the end goal is to remove `SopelWrapper` by using `contextvars` in the `Sopel` class itself. The main issue is that removing the SopelWrapper may break…
-
During a recent update of `structlog` from version `20.2.0` to `21.1.0` in a large Flask + Gunicorn web app, we encountered a new error coming from `contextvars.merge_contextvars`:
```
builtins.KeyE…
-
### Discussed in https://github.com/encode/uvicorn/discussions/2044
Originally posted by **vladyslav-burylov** July 12, 2023
Hi team, we have discovered a weird ContextVars behaviour when uvic…
-
[`contextvars`](https://docs.python.org/3/library/contextvars.html) is a newer module in the stdlib (3.7+) that is more advanced than `theading.local()` as it not only understand threads, but also `as…
-
# Feature or enhancement
I would like to add `__enter__` and `__exit__` methods to [`contextvars.Context`](https://docs.python.org/3/library/contextvars.html#contextvars.Context) such that these tw…
-
I'm getting an unhandled TypeError from the set span method of the `elasticapm.context.contextvars.ContextVar` [here](https://github.com/elastic/apm-agent-python/blob/1704ee550b8cc6988f1e8e2770e247ff0…
-
### Describe the bug
When using FastAPI `StreamingResponse`, it seems like the framework is not correctly handling ContextVars when streaming the response. The context is reset after the first chunk …