This is proposal of how to create public api functions automatically with the same docstrings as ServerAPI has.
Additional information
Added a script file automated_api.py which should be able to fill functions in _api.py based on public functions of ServerAPI with the same docstrings, and also fill imports of the functions in __init__.py. First iteration did also fill the same args, kwargs but I've hit an issue when default value was _PLACEHOLDER object which caused issues.
Description
This is proposal of how to create public api functions automatically with the same docstrings as
ServerAPI
has.Additional information
Added a script file
automated_api.py
which should be able to fill functions in_api.py
based on public functions ofServerAPI
with the same docstrings, and also fill imports of the functions in__init__.py
. First iteration did also fill the same args, kwargs but I've hit an issue when default value was_PLACEHOLDER
object which caused issues.