Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ contact_server
Function
contact_server
example_code/item_088.py:117–119 ·
view source on GitHub ↗
(my_key)
Source
from the content-addressed store, hash-verified
115
116
print(
"Example 8"
)
117
def
contact_server(my_key):
118
print(f
"Looking up {my_key!r} in server"
)
119
return
"my value 2"
120
121
def
lookup(my_key):
122
try
:
Callers
2
lookup
Function · 0.85
lookup_explicit
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected