panoptes.pipeline.settings¶
panoptes.pipeline.settings ¶
StampSettings ¶
Bases: BaseModel
How the observation-level stamp cube is cut.
Deliberately not part of PipelineParams, so it is not in the per-frame
fingerprint: a stamp size changes the cube and nothing else, and folding it
into the frame fingerprint would make every frame look stale -- a full
re-solve of the sequence -- for a change that touches no frame. The cube
records these settings, and the frames' fingerprint, in its own metadata.
Source code in src/panoptes/pipeline/settings.py
PipelineParams ¶
Bases: BaseSettings
Source code in src/panoptes/pipeline/settings.py
fingerprint
property
¶
A short digest of every parameter that affects a product.
This is the cache key, not decoration. The old flow stored params in
every document and never compared them, so changing a setting left
stale products behind with no signal that they no longer matched the
settings that were supposed to have produced them. See data contract
3.4.
Keys are sorted so the digest depends on the values and not on field declaration order -- otherwise reordering a model would invalidate the entire archive.