Open manuelma opened 10 months ago
The server stuff needs to be documented as well. Not the API, but how it works within Toolbox Tools. When you get the server URL as a command line argument in a Tool script, it is different from "raw" database URL, e.g. the database has filters applied already and you cannot add more to the URL (or maybe this is unintentional bug?). You can apply filters using DatabaseMapping
methods, though.
You're right. There is a server request called apply_filters for that, but I haven't documented it yet. Have you checked the current documentation? what do you think? https://spine-database-api.readthedocs.io/en/0.8-dev/autoapi/spinedb_api/spine_db_server/index.html
This is mostly done (although the names refer to some old stuff). What's still missing is something more generic in the beginning (https://github.com/spine-tools/Spine-Toolbox/issues/1991).
And maybe @aporrasc could comment if there is something difficult about the documentation - I think he has been using it in recent weeks.
We should improve the documentation towards the 0.8 release. We should try to split public and private API, explain why things are needed, add some introduction to the top-level package summarizing the functionality so the user knows where to go.