mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-28 01:26:14 +00:00
Handcrafts SQL queries a little more to reduce the query count and/or the amount of returned data (#6489)
This commit is contained in:
@@ -12,7 +12,7 @@ from documents.models import Document
|
||||
|
||||
class SanityCheckMessages:
|
||||
def __init__(self):
|
||||
self._messages = defaultdict(list)
|
||||
self._messages: dict[int, list[dict]] = defaultdict(list)
|
||||
self.has_error = False
|
||||
self.has_warning = False
|
||||
|
||||
|
Reference in New Issue
Block a user