MCPcopy 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
116print("Example 8")
117def contact_server(my_key):
118 print(f"Looking up {my_key!r} in server")
119 return "my value 2"
120
121def lookup(my_key):
122 try:

Callers 2

lookupFunction · 0.85
lookup_explicitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected