Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions logfire/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@
# Variables
var = DEFAULT_LOGFIRE_INSTANCE.var
template_var = DEFAULT_LOGFIRE_INSTANCE.template_var
variables_clear = DEFAULT_LOGFIRE_INSTANCE.variables_clear
variables_get = DEFAULT_LOGFIRE_INSTANCE.variables_get
variables_push = DEFAULT_LOGFIRE_INSTANCE.variables_push
variables_push_types = DEFAULT_LOGFIRE_INSTANCE.variables_push_types
Expand Down Expand Up @@ -203,7 +202,6 @@ def loguru_handler() -> Any:
'variables',
'var',
'template_var',
'variables_clear',
'variables_get',
'variables_push',
'variables_push_types',
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def config_kwargs(

@pytest.fixture(autouse=True)
def config(config_kwargs: dict[str, Any], metrics_reader: InMemoryMetricReader) -> None:
logfire.variables_clear()
logfire.DEFAULT_LOGFIRE_INSTANCE.variables_clear()
configure(
**config_kwargs,
metrics=logfire.MetricsOptions(
Expand Down
Loading