from pymongo import MongoClient
import pprint
client = MongoClient()
db = client['maps']
db.santacruz.update_one({'address.street': '245'}, {'$set': {'address': {
    'housenumber': '245', 'street': 'Mount Hermon Road', 'unit': 'A',
    'city': 'Scotts Valley', 'state': 'CA', 'postcode': '95066'}}})
updated_entry = db.santacruz.find({'id': '2610436134'})
pprint.pprint(list(updated_entry))

abc166a1ff4360991e68d32df2cabeb889792110
<mask token>

<mask token>
db.santacruz.update_one({'address.street': '245'}, {'$set': {'address': {
    'housenumber': '245', 'street': 'Mount Hermon Road', 'unit': 'A',
    'city': 'Scotts Valley', 'state': 'CA', 'postcode': '95066'}}})
<mask token>
pprint.pprint(list(updated_entry))

<mask token>
client = MongoClient()
db = client['maps']
db.santacruz.update_one({'address.street': '245'}, {'$set': {'address': {
    'housenumber': '245', 'street': 'Mount Hermon Road', 'unit': 'A',
    'city': 'Scotts Valley', 'state': 'CA', 'postcode': '95066'}}})
updated_entry = db.santacruz.find({'id': '2610436134'})
pprint.pprint(list(updated_entry))

from pymongo import MongoClient
import pprint
client = MongoClient()
db = client['maps']
db.santacruz.update_one({'address.street': '245'}, {'$set': {'address': {
    'housenumber': '245', 'street': 'Mount Hermon Road', 'unit': 'A',
    'city': 'Scotts Valley', 'state': 'CA', 'postcode': '95066'}}})
updated_entry = db.santacruz.find({'id': '2610436134'})
pprint.pprint(list(updated_entry))
