diff --git a/polyapi/parser.py b/polyapi/parser.py index f474693..259c158 100644 --- a/polyapi/parser.py +++ b/polyapi/parser.py @@ -465,6 +465,7 @@ def visit_FunctionDef(self, node: ast.FunctionDef): # Parse docstring which may contain param types and descriptions self._extract_docstring_from_function(node) function_args = [arg for arg in node.args.args] + function_args.extend(node.args.kwonlyargs) docstring_params = deployable["types"]["params"] parsed_params = [] # parse params from actual function and merge in any data from the docstring diff --git a/pyproject.toml b/pyproject.toml index 8086a2a..7ab87c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["setuptools>=61.2", "wheel"] [project] name = "polyapi-python" -version = "0.3.10.dev1" +version = "0.3.10.dev2" description = "The Python Client for PolyAPI, the IPaaS by Developers for Developers" authors = [{ name = "Dan Fellin", email = "dan@polyapi.io" }] dependencies = [