(cls, username)
return {'deleted': x}
Deltes every uuid owned by specified user
Deltes every uuid owned by specified user
Deltes every uuid owned by specified user
def delete_by_user(cls, username):
        """
        Deltes every uuid owned by specified user
        """
        x = cls.query.filter_by(username = username).delete()
        db.session.commit()
        return {'deleted': x}
def delete_by_user ( cls , username ) : x = cls . query . filter_by ( username = username ) . delete ( ) db . session . commit ( ) return { 'deleted' : x }