Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.
Python aiburrchatbot-frameworkdagsgenerative-aigraphshacktoberfestllmopsllmsmlopspersistent-data-structurestate-machinestate-managementvisibility
chore: add deprecation warnings to telemetry stub functions
Stefan Krawczyk5d7267c5314b
diff --git a/burr/telemetry.py b/burr/telemetry.pyindex 788d3912..255ddf8b 100644--- a/burr/telemetry.py+++ b/burr/telemetry.py@@ -23,12 +23,25 @@ any external code that imports from it (e.g. ``telemetry.disable_telemetry()``)will continue to work without error."""+import warnings+def disable_telemetry():"""No-op. Telemetry has been removed."""- pass+ warnings.warn(+ "disable_telemetry() is deprecated and will be removed in a future release. "+ "Telemetry has been removed from Burr per ASF policy.",+ DeprecationWarning,+ stacklevel=2,+ )def is_telemetry_enabled() -> bool:"""Always returns False. Telemetry has been removed."""+ warnings.warn(+ "is_telemetry_enabled() is deprecated and will be removed in a future release. "+ "Telemetry has been removed from Burr per ASF policy.",+ DeprecationWarning,+ stacklevel=2,+ )return False