Refactoring of project structure for the public API
It might be worth considering to put all functions that are part of the public API inside a project-level __init__.py
file, so they can be included as from kadi-apy import get_record
(see also https://gitlab.com/iam-cms/workflows/xmlhelpy/-/blob/master/xmlhelpy/init.py). This is often found in other libraries which are supposed to be included in other code, though depending on how the API should be structured and how big it is, it might still be necessary to have multiple namespaces like before, e.g. kadi-apy.cli
, kadi-apy.core
etc.
Could help with things like iam-cms/workflows/workflow-nodes!29 (merged)
Edited by Nico B