aurweb/aurweb/scripts
Kevin Morris 4103ab49c9
housekeep(fastapi): rework aurweb.db session API
Changes:
-------
- Add aurweb.db.get_session()
    - Returns aurweb.db's global `session` instance
    - Provides us a way to change the implementation of the session
      instance without interrupting user code.
- Use aurweb.db.get_session() in session API methods
- Add docstrings to session API methods
- Refactor aurweb.db.delete
    - Normalize aurweb.db.delete to an alias of session.delete
- Refresh instances in places we depend on their non-PK columns
  being up to date.

Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-11-14 16:15:50 -08:00
..
__init__.py Make maintenance scripts installable 2016-10-17 15:23:13 +02:00
aurblup.py Refactor code to comply with flake8 and isort 2021-02-20 11:24:30 -05:00
mkpkglists.py fix(mkpkglists): restore isort order 2021-11-10 13:54:18 -08:00
notify.py Send request notifications to co-maintainers 2021-10-19 12:18:40 -07:00
pkgmaint.py Do not hardcode path to the Python interpreter 2017-08-25 07:01:12 +02:00
popupdate.py housekeep(fastapi): rework aurweb.db session API 2021-11-14 16:15:50 -08:00
rendercomment.py housekeep(fastapi): rework aurweb.db session API 2021-11-14 16:15:50 -08:00
tuvotereminder.py Do not hardcode path to the Python interpreter 2017-08-25 07:01:12 +02:00
usermaint.py Erase login IP addresses after seven days 2018-05-10 21:38:25 +02:00