MCPcopy Create free account
hub / github.com/OpenBMB/BMTools / set_docs

Function set_docs

bmtools/tools/hugging_tools/api.py:129–134  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

127
128 def format_docs(str):
129 def set_docs(func):
130 func.__doc__ = func.__doc__ % str
131 @wraps(func)
132 def original_func(*args, **kwargs):
133 return func(*args, **kwargs)
134 return original_func
135 return set_docs
136
137 @task

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected