-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
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=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. - A second argument for the change is the fact that the
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").
Metadata
Metadata
Assignees
Labels
No labels