code: def upgrade_downgrade(source, target) -> None:
      migrate_and_assert(MigratePivotTable, source, target)
  
file_path: superset/tests/unit_tests/migrations/viz/time_related_fields_test.py
imports: from typing import Any
  from superset.migrations.shared.migrate_viz import MigratePivotTable
  from tests.unit_tests.conftest import with_feature_flags
  from tests.unit_tests.migrations.viz.utils import migrate_and_assert
label_desc: Use image node_id 4 for calling a global function with example usage: upgrade_downgrade(source, target) without return types