@classmethod
    @serializable
    def update_one(cls, filter, update, upsert=False):
        return cls.collection.update_one(filter, update, upsert).raw_result
Updates a document that passes the filter with the update value
dataset/ETHPy150Open lvieirajr/mongorest/mongorest/collection.py/Collection.update_one