Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pathwaycom/pathway
/ extract_trace_line
Function
extract_trace_line
python/pathway/tests/test_errors.py:25–27 ·
view source on GitHub ↗
(trace: str)
Source
from the content-addressed store, hash-verified
23
24
@pw.udf
25
def
extract_trace_line(trace: str) -> str:
26
match = re.search(r
"^\s*Line:\s*(.*)$"
, trace, re.MULTILINE)
27
return
match.group(1)
if
match
else
""
28
29
30
def
global_errors() -> pw.Table:
Callers
1
global_errors
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected