Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/gap-text2sql
/ tuplify
Function
tuplify
rat-sql-gap/seq2struct/utils/serialization.py:18–21 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
16
17
18
def
tuplify(x):
19
if
not isinstance(x, (tuple, list)):
20
return
x
21
return
tuple(tuplify(elem)
for
elem in x)
22
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected