Skip to content

Instantly share code, notes, and snippets.

@charlesBochet
Created July 2, 2017 21:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save charlesBochet/c50cabac4f516924a5bcebe69e56c226 to your computer and use it in GitHub Desktop.
Save charlesBochet/c50cabac4f516924a5bcebe69e56c226 to your computer and use it in GitHub Desktop.
for document in aggregation_inbound_malware:
dst_data_db.IronmailAggregatedInboundTrafficMalwareRecipients.update_one(
{'_id': document['_id']},
{'$set': document},
True
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment