F entity role
Loading
Fixes unintuitive behavior of "Entity.role" after a retrieval.
(As per the bug report in the CaosDB matrix chat)
The only real changes are in models.py
. See the annotations for more info.
Everything else is just new tests covering the changes.
@mark.xfail(reason="Waits for MR https://gitlab.indiscale.com/caosdb/src/caosdb-pylib/-/merge_requests/15")
For further good practices have a look at our review guidelines.