TIFNJK_E41221588/venv/Lib/site-packages/altair/utils/compiler.py

14 lines
465 B
Python

from collections.abc import Callable
from typing import Any
from altair.utils import PluginRegistry
# ==============================================================================
# Vega-Lite to Vega compiler registry
# ==============================================================================
VegaLiteCompilerType = Callable[[dict[str, Any]], dict[str, Any]]
class VegaLiteCompilerRegistry(PluginRegistry[VegaLiteCompilerType, dict[str, Any]]):
pass