Handcrafts SQL queries a little more to reduce the query count and/or the amount of returned data (#6489)

This commit is contained in:
Trenton H
2024-04-30 07:37:09 -07:00
committed by GitHub
parent 63e1f9f5d3
commit 7be7185418
10 changed files with 188 additions and 135 deletions

View File

@@ -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