parameters: (cls, uuid, username)
return_statement: return {'deleted': x}
docstring: Deletes supplied UUID
docstring_summary: Deletes supplied UUID
docstring_tokens: Deletes supplied UUID
function: def delete_by_uuid(cls, uuid, username):
          """
          Deletes supplied UUID
          """
          x = 0
          uuids = [y['uuid'] for y in DnsModel.find_by_user(username)]
  
          if uuid in uuids:
              x = cls.query.filter_by(uuid = uuid).delete()
              db.session.commit()
  
          return {'deleted': x}
function_tokens: def delete_by_uuid ( cls , uuid , username ) : x = 0 uuids = [ y [ 'uuid' ] for y in DnsModel . find_by_user ( username ) ] if uuid in uuids : x = cls . query . filter_by ( uuid = uuid ) . delete ( ) db . session . commit ( ) return { 'deleted' : x }