MCPcopy Create free account
hub / github.com/internetarchive/openlibrary / wrapper

Method wrapper

openlibrary/utils/async_utils.py:42–43  ·  view source on GitHub ↗
(*args: P.args, **kwargs: P.kwargs)

Source from the content-addressed store, hash-verified

40 """
41
42 def wrapper(*args: P.args, **kwargs: P.kwargs) -> T:
43 return self.run(func(*args, **kwargs))
44
45 wrapper.__name__ = name if name is not None else func.__name__
46 wrapper.__doc__ = func.__doc__

Callers

nothing calls this directly

Calls 1

runMethod · 0.95

Tested by

no test coverage detected