code: def include_object(_, name, type_, *args):
      """Filter objects for autogenerating revisions."""
      # Ignore _anything_ to do with Celery, or FlaskSession's tables
      if type_ == "table" and (
          name.startswith("celery_") or name == "session"
      ):
          return False
      else:
          return True
  
file_path: airflow/airflow/migrations/env.py
imports: from __future__ import annotations
  import contextlib
  import sys
  from logging.config import fileConfig
  from alembic import context
  from airflow import models, settings
  from airflow.utils.db import compare_server_default, compare_type
label_desc: Use image node_id 1 for calling a global function with example usage: include_object(_, name, type_) and returns: False, True