api/schemas/schema_base.py
def delete(cls, data_filter: Document, collection: MongoCollection = None) -> None:
        """Function for deleting a document."""
        c = cls.collection or collection

        c.delete_one(data_filter)
Function for deleting a document.
Function for deleting a document.
Function for deleting a document .
def delete(cls, data_filter: Document, collection: MongoCollection = None) -> None:
        c = cls.collection or collection
        c.delete_one(data_filter)
def delete ( cls , data_filter : Document , collection : MongoCollection = None ) -> None : c = cls . collection or collection c . delete_one ( data_filter )
Function for deleting a document.
Function for deleting a document .
"""Function for deleting a document."""
cls
data_filter
Document
collection
MongoCollection