SELECT results should be marked as incomplete
Results of SELECT queries (and possibly other use cases that return incomplete entities) should be marked as "incomplete" by the server s.th. they can be treated separately by the clients. This way, an erroneous update can be prevented by the client, see caosdb-pylib#48 (closed).
Bug (i.e. dangerous default behavior) in pylib also affects other clients. Therefore, we regard this thing as bug.
DoD
-
add "projection" or "incomplete" hint to server response on select queries. -
add same property to resulting containers in caosdb-pylib. -
prevent update on flagged containers. -
Removed xfail from tests in pyinttest test_select.py.
See also
Confirmation is in caosdb-pyinttest!10 (merged)
Edited by Timm Fitschen