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.

Fixes invalid escape sequence warning

elijahbenizzyb7547ed8b192
diff --git a/burr/tracking/client.py b/burr/tracking/client.py
index b175e66e..517abb6f 100644
--- a/burr/tracking/client.py
+++ b/burr/tracking/client.py
@@ -80,7 +80,7 @@ def _filter_inputs(d: dict) -> dict:
def _allowed_project_name(project_name: str, on_windows: bool) -> bool:
- allowed_chars = "a-zA-Z0-9_\-"
+ allowed_chars = r"a-zA-Z0-9_\-"
if not on_windows:
allowed_chars += ":"
pattern = f"^[{allowed_chars}]+$"