def delete_user(self, email):
        """Delete a user from the database
        
        Args:
            email(str)
    
        Returns:
            user_obj(dict)
        
        """
        LOG.info("Deleting user %s", email)
        user_obj = self.user_collection.delete_one({'_id': email})
        
        return user_obj
def delete_user(self, email):
        """Delete a user from the database
        
        Args:
            email(str)
    
        Returns:
            user_obj(dict)
        
        """
        LOG.info("Deleting user %s", email)
        user_obj = self.user_collection.delete_one({'_id': email})
        
        return user_obj
def delete_user ( self , email ) : LOG . info ( "Deleting user %s" , email ) user_obj = self . user_collection . delete_one ( { '_id' : email } ) return user_obj
Delete a user from the database
        
        Args:
            email(str)
    
        Returns:
            user_obj(dict)
Delete a user from the database Args : email ( str ) Returns : user_obj ( dict )