Skip to content

Commit

Permalink
Merge pull request #51 from UKGovernmentBEIS/craig/trace-public
Browse files Browse the repository at this point in the history
Use public `trace_action`/`trace_message` functions
  • Loading branch information
craigwalton-dsit authored Jan 10, 2025
2 parents 6ee9fbf + 0a0cd6b commit a9dbd13
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
12 changes: 6 additions & 6 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ packages = [

[tool.poetry.dependencies]
python = "^3.10"
inspect-ai = ">=0.3.54"
inspect-ai = ">=0.3.57"
kubernetes = "^31.0.0"

[tool.poetry.group.dev.dependencies]
Expand Down
3 changes: 1 addition & 2 deletions src/k8s_sandbox/_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
from contextlib import contextmanager
from typing import Any, Generator

# TODO: Accessing private functions. To be made public by Inspect.
from inspect_ai._util.trace import trace_action, trace_message
from inspect_ai.util import trace_action, trace_message

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit a9dbd13

Please sign in to comment.