-
Notifications
You must be signed in to change notification settings - Fork 223
Unable to import propagate from logfire_api #1324
Copy link
Copy link
Closed
Labels
good first issueGood for newcomersGood for newcomers
Description
Description
Hi, while writing custom integration faced with problem:
from logfire_api.propagate import get_context, attach_contextor
import logfire_api.propagateare failed with
ModuleNotFoundError: No module named 'logfire_api.propagate'
However,
import logfire_api as logfire
works well. But does not allow to access propagate module anyway:
import logfire_api as logfire
print(logfire.propagate)
fails with
AttributeError: module 'logfire_api' has no attribute 'propagate'
If I install logfire itself - works well.
Python: 3.13.5/3.12.11
Logfire API: 4.3.3
Steps to reproduce:
uvx --from logfire_api==4.3.3 python
and then just
from logfire_api.propagate import get_context, attach_context
Thanks!
Python, Logfire & OS Versions, related packages (not required)
>>> import logfire_api as logfire
>>> logfire.logfire_info()
'logfire_info() is not implement by logfire-api'Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers