Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/tera
/ sync_put
Function
sync_put
src/sdk/python/sample.py:88–94 ·
view source on GitHub ↗
sync put
(table)
Source
from the content-addressed store, hash-verified
86
87
88
def
sync_put(table):
89
""
" sync put "
""
90
print(
"\nsync put"
)
91
try
:
92
table.Put(
"sync"
,
"cf0"
,
"qu0"
,
"value"
)
93
except
TeraSdkException
as
e:
94
print(e.reason)
95
96
97
def
sync_get(table):
Callers
1
main
Function · 0.85
Calls
1
Put
Method · 0.45
Tested by
no test coverage detected