Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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  <[email protected]>
Signed-off-by: Nathan McDougall <[email protected]>
  • Loading branch information
nathanjmcdougall committed Nov 18, 2025
commit f03f7420a099913060198cece0685ab4ea293392
2 changes: 1 addition & 1 deletion docarray/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

---
Expand Down
Loading