Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tvm
/ compress_query
Function
compress_query
ci/scripts/jenkins/git_utils.py:32–35 ·
view source on GitHub ↗
(query: str)
Source
from the content-addressed store, hash-verified
30
31
32
def
compress_query(query: str) -> str:
33
query = query.replace(
"\n"
,
""
)
34
query = re.sub(
"\s+"
,
" "
, query)
35
return
query
36
37
38
def
post(url: str, body: Any | None = None, auth: tuple[str, str] | None = None):
Callers
1
graphql
Method · 0.85
Calls
2
replace
Method · 0.45
sub
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…