libervia-backend/libervia/backend/memory
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Goffi 57d3d8e07e memory (sqla): Improve handling of RSM in get_items:
- update queries to handle correctly the `before=""` case and RSM order (older to newer)
  while having correct order when `max_items` without RSM is used (then order it newer to
  older).
- put RSM code path in a separated method for better readability.
- check values of `max_items` and `from_index` and raise exception is they are not
  positive
- when using `before` or `after`, check that the item ID used as reference exists, and
  raise an exception otherwise.
- updated docstring to reflect the new behaviour.
- update pubsub cache use of `get_items` with RSM, to adapt to new behaviour.

rel 476
2026-04-07 14:58:42 +02:00
..
migration apply black to the whole codebase. 2026-03-09 09:22:04 +01:00
__init__.py refactoring: renamed sat package to libervia.backend 2023-06-02 11:49:51 +02:00
cache.py Dates update. 2026-03-31 12:57:17 +02:00
crypto.py Dates update. 2026-03-31 12:57:17 +02:00
disco.py Dates update. 2026-03-31 12:57:17 +02:00
encryption.py Dates update. 2026-03-31 12:57:17 +02:00
memory.py Dates update. 2026-03-31 12:57:17 +02:00
params.py core (memory/param): Replace warning sign in ASCII by emoji: 2026-03-31 13:00:31 +02:00
persistent.py Dates update. 2026-03-31 12:57:17 +02:00
sqla.py memory (sqla): Improve handling of RSM in get_items: 2026-04-07 14:58:42 +02:00
sqla_config.py Dates update. 2026-03-31 12:57:17 +02:00
sqla_mapping.py Dates update. 2026-03-31 12:57:17 +02:00