toolslm 0.3.27__tar.gz → 0.3.28__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {toolslm-0.3.27/toolslm.egg-info → toolslm-0.3.28}/PKG-INFO +1 -1
- toolslm-0.3.28/toolslm/__init__.py +1 -0
- {toolslm-0.3.27 → toolslm-0.3.28}/toolslm/funccall.py +3 -1
- {toolslm-0.3.27 → toolslm-0.3.28/toolslm.egg-info}/PKG-INFO +1 -1
- toolslm-0.3.27/toolslm/__init__.py +0 -1
- {toolslm-0.3.27 → toolslm-0.3.28}/LICENSE +0 -0
- {toolslm-0.3.27 → toolslm-0.3.28}/MANIFEST.in +0 -0
- {toolslm-0.3.27 → toolslm-0.3.28}/README.md +0 -0
- {toolslm-0.3.27 → toolslm-0.3.28}/pyproject.toml +0 -0
- {toolslm-0.3.27 → toolslm-0.3.28}/setup.cfg +0 -0
- {toolslm-0.3.27 → toolslm-0.3.28}/toolslm/_modidx.py +0 -0
- {toolslm-0.3.27 → toolslm-0.3.28}/toolslm/download.py +0 -0
- {toolslm-0.3.27 → toolslm-0.3.28}/toolslm/inspecttools.py +0 -0
- {toolslm-0.3.27 → toolslm-0.3.28}/toolslm/md_hier.py +0 -0
- {toolslm-0.3.27 → toolslm-0.3.28}/toolslm/shell.py +0 -0
- {toolslm-0.3.27 → toolslm-0.3.28}/toolslm/xml.py +0 -0
- {toolslm-0.3.27 → toolslm-0.3.28}/toolslm.egg-info/SOURCES.txt +0 -0
- {toolslm-0.3.27 → toolslm-0.3.28}/toolslm.egg-info/dependency_links.txt +0 -0
- {toolslm-0.3.27 → toolslm-0.3.28}/toolslm.egg-info/entry_points.txt +0 -0
- {toolslm-0.3.27 → toolslm-0.3.28}/toolslm.egg-info/requires.txt +0 -0
- {toolslm-0.3.27 → toolslm-0.3.28}/toolslm.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.3.28"
|
|
@@ -141,9 +141,11 @@ def get_schema(
|
|
|
141
141
|
"Generate JSON schema for a class, function, or method"
|
|
142
142
|
if isinstance(f, dict): return f
|
|
143
143
|
if hasattr(f, '__call__') and not isinstance(f, type) and not inspect.isfunction(f) and not inspect.ismethod(f):
|
|
144
|
+
orig_doc = f.__doc__
|
|
144
145
|
f = f.__call__
|
|
146
|
+
else: orig_doc = None
|
|
145
147
|
schema = _get_nested_schema(f, evalable=evalable, skip_hidden=skip_hidden)
|
|
146
|
-
desc = f.__doc__
|
|
148
|
+
desc = f.__doc__ or orig_doc
|
|
147
149
|
assert desc, "Docstring missing!"
|
|
148
150
|
d = docments(f, full=True)
|
|
149
151
|
ret = d.pop('return')
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.3.27"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|