def insert_one(self, doc_or_docs, **kwargs):
        """Insert method
        """
        check = kwargs.pop('check', True)
        if check is True:
            self._valid_record(doc_or_docs)

        return self.__collect.insert_one(doc_or_docs, **kwargs)
def insert_one ( self , doc_or_docs , ** kwargs ) : check = kwargs . pop ( 'check' , True ) if check is True : self . _valid_record ( doc_or_docs ) return self . __collect . insert_one ( doc_or_docs , ** kwargs )
Insert method