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

Method get

gunicorn/dirty/stash.py:384–386  ·  view source on GitHub ↗

Get value with default.

(self, key, default=None)

Source from the content-addressed store, hash-verified

382 return info.get("size", 0)
383
384 def get(self, key, default=None):
385 """Get value with default."""
386 return self._client.get(self._name, key, default)
387
388 def keys(self, pattern=None):
389 """Get all keys, optionally filtered by pattern."""

Callers 15

createFunction · 0.45
_handle_responseMethod · 0.45
_read_next_chunkMethod · 0.45
_read_next_chunkMethod · 0.45
get_dirty_socket_pathFunction · 0.45
get_dirty_client_asyncFunction · 0.45
close_dirty_client_asyncFunction · 0.45
from_dictMethod · 0.45
handle_clientMethod · 0.45
route_requestMethod · 0.45
consumerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected