Skip to content

armgit / burr

Public Imported from GitHub
0

Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.

Adds better error message for log_artifact

elijahbenizzyefcc79d22d94
diff --git a/burr/visibility/tracing.py b/burr/visibility/tracing.py
index 84bba3ba..1c6d84fd 100644
--- a/burr/visibility/tracing.py
+++ b/burr/visibility/tracing.py
@@ -198,7 +198,11 @@ class ActionSpanTracer(AbstractContextManager, AbstractAsyncContextManager):
return None
def log_artifact(self, name: str, value: Any):
- raise NotImplementedError
+ raise NotImplementedError(
+ "Logging artifacts is not yet implemented. See "
+ "(and comment on) the following issue for more details: "
+ "https://github.com/DAGWorks-Inc/burr/issues/46"
+ )
async def __aenter__(self) -> "ActionSpanTracer":
"""Enters the context manager, async mode"""