Skip to content

Unable to import propagate from logfire_api #1324

@smthngslv

Description

@smthngslv

Description

Hi, while writing custom integration faced with problem:

from logfire_api.propagate import get_context, attach_context

or

import logfire_api.propagate

are 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'

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions