Snapshot

class results.Snapshot

Execution options for queries producing snapshots at a specific time.

Parameters:
  • changed_since (Optional[datetime], default: None)

    If set, only includes entities that changed after this time.

    Snapshot queries support incremental execution even when this isn’t set.

    However, every snapshot will include every entity unless this is set.

    When writing results to an external store that already has values

    from an earlier snapshot, this can be used to reduce the amount of

    data to be written.

  • at (Optional[datetime], default: None)

    If set, produces the snapshot at the given time.

    If not set, the current time will be used.