You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an object has been updated and then deleted between two change stream accesses, the fullDocument comes through as None, for the ’update event as there is no object to lookup. this causes the setting of the object_id field to fail as python can’t iterate through a null object.
When an object has been updated and then deleted between two change stream accesses, the
fullDocument
comes through asNone
, for the ’update event as there is no object to lookup. this causes the setting of theobject_id
field to fail as python can’t iterate through a null object.The object:
{'_id': {'_data': '826540D20E000000832B022C0100296E5A1004B1454DE22CBD4CED99EDB1A716A6B5E546645F696400646540D20E7B1D780057B2BEAC0004'}, 'operationType': 'update', 'clusterTime': Timestamp(1698746894, 131), 'fullDocument': None, 'ns': {'db': 'api-services-core', 'coll': 'challenges'}, 'documentKey': {'_id': ObjectId('6540d20e7b1d780057b2beac')}, 'updateDescription': {'updatedFields': {'updatedAt': datetime.datetime(2023, 10, 31, 10, 8, 14, 893000), 'sources.device': {'distance': 0}}, 'removedFields': [], 'truncatedArrays': []}}
and the error:
The text was updated successfully, but these errors were encountered: