team-10/env/Lib/site-packages/altair/utils/compiler.py

13 lines
438 B
Python
Raw Normal View History

2025-08-02 07:34:44 +02:00
from typing import Any, Callable
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