From f03f7420a099913060198cece0685ab4ea293392 Mon Sep 17 00:00:00 2001 From: Nathan McDougall Date: Wed, 19 Nov 2025 12:29:38 +1300 Subject: [PATCH] Make docstring a raw string to avoid `SyntaxWarning` Currently, `import docarray.helper` will emit a `SyntaxWarning` due to invalid escape sequences in the docstring for `get_paths`. Making it a raw-string is a simple fix to this. Signed-off-by: Nathan McDougall Signed-off-by: Nathan McDougall --- docarray/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docarray/helper.py b/docarray/helper.py index 34b0c2bfd4..978a479bdf 100644 --- a/docarray/helper.py +++ b/docarray/helper.py @@ -221,7 +221,7 @@ def get_paths( size: Optional[int] = None, exclude_regex: Optional[str] = None, ) -> Generator[str, None, None]: - """ + r""" Yield file paths described by `patterns`. ---