code: def apply(self, query: Query, value: Any) -> Query:
      if not value:
          return query
      ilike_value = f"%{value}%"
      return query.filter(
          or_(
              Slice.slice_name.ilike(ilike_value),
              Slice.description.ilike(ilike_value),
              Slice.viz_type.ilike(ilike_value),
              SqlaTable.table_name.ilike(ilike_value),
          )
      )
  
imports: from typing import Any
  from flask_babel import lazy_gettext
  from sqlalchemy import and_, or_
  from sqlalchemy.orm import aliased
  from sqlalchemy.orm.query import Query
  from superset import db, security_manager
  from superset.connectors.sqla import models
  from superset.connectors.sqla.models import SqlaTable
  from superset.models.core import FavStar
  from superset.models.slice import Slice
  from superset.utils.core import get_user_id
  from superset.utils.filters import get_dataset_access_filters
  from superset.views.base import BaseFilter
  from superset.views.base_api import BaseFavoriteFilter, BaseTagFilter
label_desc: Use image node_id 1 for calling the ChartAllTextFilter obj's underlying member method code with example usage: obj.apply(query, value) and returns: query, query