13 lines
444 B
Python
Executable File
13 lines
444 B
Python
Executable File
from typing import Any, Callable, Dict
|
|
|
|
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
|