Skip to content

Commit 96521e2

Browse files
Update processors.py
1 parent 23e65a3 commit 96521e2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/models/processors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ async def check_document_exists(
107107
# field tokenizes the query value and rarely matches the raw id, so
108108
# also match its `.keyword` multi-field. document_id has always been
109109
# explicitly `keyword` since index creation and never has this issue.
110+
query: dict[str, Any]
110111
if field == "connector_file_id":
111112
query = {
112113
"bool": {

0 commit comments

Comments
 (0)