Function pleque.io.compass.cdb() uses revision=1 as a default parameter value. I would propose a change to revision=-1, i.e. the most recent revision.
Arguments:
- On the one hand, the original behaviour enforces some degree of reproducibility of the returned value on subsequent calls. On the other hand, there are cases where the
revision=1 data in CDB are broken (cause exception when you attempt to load them) but a fixed version of the data are available in revision=2. As a result, the original behaviour ensures that that particular discharge will always throw error, possibly misleading the user into thinking that no "fixed data" exist.
- A second argument for the change is the fact that the
pyCDB client loads the most recent revision by default. A user then might logically expect the same behaviour from pleque as well, since this feels as the defining property/philosophy of the CDB database itself (i.e. "last revision is always/eventually the best revision which everyone should use").
Function
pleque.io.compass.cdb()usesrevision=1as a default parameter value. I would propose a change torevision=-1, i.e. the most recent revision.Arguments:
revision=1data in CDB are broken (cause exception when you attempt to load them) but a fixed version of the data are available inrevision=2. As a result, the original behaviour ensures that that particular discharge will always throw error, possibly misleading the user into thinking that no "fixed data" exist.pyCDBclient loads the most recent revision by default. A user then might logically expect the same behaviour fromplequeas well, since this feels as the defining property/philosophy of the CDB database itself (i.e. "last revision is always/eventually the best revision which everyone should use").