s365b.core.selection

Choosing item versions: as they were at a time, matching a search.

Browse and restore use the same filters, so a restore takes exactly what the person saw.

Functions

at_time(at) → Any

Versions that were current at at.

escape_like(text) → str

Escape LIKE wildcards (percent, underscore) and the backslash escape character.

matches(q) → Any

Versions whose name or any metadata value contains q (any case).

in_folder(path, *, subfolders) → Any

Versions in the folder path (and, if asked, the folders below it).

Module Contents

s365b.core.selection.at_time(at: datetime.datetime) → Any[source]

Versions that were current at at.

s365b.core.selection.escape_like(text: str) → str[source]

Escape LIKE wildcards (percent, underscore) and the backslash escape character.

s365b.core.selection.matches(q: str) → Any[source]

Versions whose name or any metadata value contains q (any case).

s365b.core.selection.in_folder(path: str, *, subfolders: bool) → Any[source]

Versions in the folder path (and, if asked, the folders below it).