pydantic/logfire

`test_logfire_api` doesn't look at `logfire_api.__all__`

Open

#335 opened on Jul 24, 2024

View on GitHub
 (4 comments) (0 reactions) (1 assignee)Python (244 forks)github user discovery
Logfire APIgood first issue

Repository metrics

Stars
 (4,282 stars)
PR merge metrics
 (Avg merge 7d 8h) (35 merged PRs in 30d)

Description

It just uses logfire.__all__ in both versions of test_runtime. logfire_api.__all__ doesn't actually exist at runtime when logfire isn't importable.

Contributor guide