Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Research
/ tuplify
Function
tuplify
NLP/Text2SQL-BASELINE/text2sql/utils/serialization.py:22–26 ·
view source on GitHub ↗
tuplify
(x)
Source
from the content-addressed store, hash-verified
20
21
22
def
tuplify(x):
23
""
"tuplify"
""
24
if
not isinstance(x, (tuple, list)):
25
return
x
26
return
tuple(tuplify(elem)
for
elem in x)
27
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected