MCPcopy
hub / github.com/benoitc/gunicorn / put

Method put

gunicorn/dirty/stash.py:191–202  ·  view source on GitHub ↗

Store a value in a table. The table is automatically created if it doesn't exist. Args: table: Table name key: Key to store under value: Value to store (must be serializable)

(self, table, key, value)

Source from the content-addressed store, hash-verified

189 # -------------------------------------------------------------------------
190
191 def put(self, table, key, value):
192 """
193 Store a value in a table.
194
195 The table is automatically created if it doesn't exist.
196
197 Args:
198 table: Table name
199 key: Key to store under
200 value: Value to store (must be serializable)
201 """
202 self._execute(STASH_OP_PUT, table, key=key, value=value)
203
204 def get(self, table, key, default=None):
205 """

Callers 15

route_requestMethod · 0.80
__setitem__Method · 0.80
putFunction · 0.80
startupMethod · 0.80
shutdownMethod · 0.80
runMethod · 0.80
_read_framesMethod · 0.80
deferMethod · 0.80

Calls 1

_executeMethod · 0.95