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

Method exists

gunicorn/dirty/stash.py:279–290  ·  view source on GitHub ↗

Check if a table or key exists. Args: table: Table name key: Optional key to check within the table Returns: True if exists, False otherwise

(self, table, key=None)

Source from the content-addressed store, hash-verified

277 self._execute(STASH_OP_ENSURE, table)
278
279 def exists(self, table, key=None):
280 """
281 Check if a table or key exists.
282
283 Args:
284 table: Table name
285 key: Optional key to check within the table
286
287 Returns:
288 True if exists, False otherwise
289 """
290 return self._execute(STASH_OP_EXISTS, table, key=key)
291
292 def delete_table(self, table):
293 """

Callers 15

validate_file_existsFunction · 0.80
validate_chdirFunction · 0.80
get_default_config_fileFunction · 0.80
setupMethod · 0.80
create_socketsFunction · 0.80
import_appFunction · 0.80
_run_asyncMethod · 0.80
_cleanup_workerMethod · 0.80
_cleanup_syncMethod · 0.80
__getitem__Method · 0.80

Calls 1

_executeMethod · 0.95