Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ apply_template
Function
apply_template
cpp/src/gandiva/make_precompiled_bitcode.py:32–35 ·
view source on GitHub ↗
(template, data)
Source
from the content-addressed store, hash-verified
30
31
32
def
apply_template(template, data):
33
if
template.count(marker) != 1:
34
raise
ValueError(
"Invalid template"
)
35
return
template.replace(marker, expand(data))
36
37
38
if
__name__ ==
"__main__"
:
Callers
1
make_precompiled_bitcode.py
File · 0.85
Calls
2
expand
Function · 0.85
count
Method · 0.45
Tested by
no test coverage detected