logfire icon indicating copy to clipboard operation
logfire copied to clipboard

Remove `logfire._internal` from `logfire-api`

Open samuelcolvin opened this issue 10 months ago • 1 comments

Having the _internal sub-package is great as it provides a boundary to not include in the logfire-api package. We should remove it, it would also make the logfire-api package lighter.

samuelcolvin avatar Jan 29 '25 15:01 samuelcolvin

I don't think we can do that unless we move the types around in logfire itself. We use mypy stubgen, and we purposely include internal to not lose some types.

Currently the logfire-api wheel size is 73.9 kB.

Kludex avatar Jan 29 '25 16:01 Kludex