code: def apply(self, query, value, alias):
          
          try:
              value = uuid.UUID(value)
              return query.filter(self.column == value)
          except ValueError:
              return query
docs: Convert UUID.
  
          :param query: SQLAlchemy query object.
          :param value: UUID value.
          :param alias: Alias of the column.
          :returns: Filtered query matching the UUID value.