MCPcopy
hub / github.com/omkarcloud/botasaurus / getfnname

Function getfnname

botasaurus/cache.py:30–31  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

28
29
30def getfnname(func):
31 return func if isinstance(func, str) else func.__name__
32
33def _get_cache_path(func, data):
34 fn_name = getfnname(func)

Callers 11

_get_cache_pathFunction · 0.85
get_cached_filesFunction · 0.85
get_itemsMethod · 0.85
get_random_itemsMethod · 0.85
delete_itemsMethod · 0.85
clearMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected