dset = self._c.service.get(self._sessionId, ICatType.DATASET +
" INCLUDE " + ICatType.DATASET_TYPE +
',' + ICatType.SAMPLE,
dset.complete = complete
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.