dset = self._c.service.get(self._sessionId, ICatType.DATASET +
" INCLUDE " + ICatType.DATASET_TYPE +
',' + ICatType.SAMPLE,
datasetId)
dset.complete = complete
self._c.service.update(self._sessionId, dset)
Problem:
If you have to specify all entities explicitly you often generate loops in the graph.
I could not find a combination of INCLUDEs where are all related objects are included.
In this example you can just include SAMPLE or INVESTIGATION. If you include both
you generate a loop. If you update without including both a relation is broken.
a) INCLUDE Sample => loosing relation to INVESTIGATION
b) INCLUDE Investigation => loosing relation to SAMPLE
Furthermore it would be nice if the update method just touches relations which are specified.
Then it would be possible to just fetch a Dataset without INCLUDEs.
Best
Christian