Skip to content

Commit

Permalink
effectively back out proposed sid fix - it breaks tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmichaels-harvard committed Nov 2, 2024
1 parent 4de95de commit 93abf58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion snovault/elasticsearch/indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,8 @@ def update_object(self, request, uuid, add_to_secondary=None, sid=None,

# xyzzy/dmichaels/20241102
result_sid = result['sid']
del result['sid']
# NEVERMIND - BREAKS TEST: FAILED snovault/tests/test_indexing.py::test_indexing_info[False] - KeyError: 'sid'
# del result['sid']
# xyzzy/dmichaels/20241102

last_exc = None # We intend to set it to something else later, but this is just in case we goof
Expand Down

0 comments on commit 93abf58

Please sign in to comment.