Spaces:
Paused
Paused
Download .pythonlibs/lib/python3.10/site-packages/altair/utils/compiler.py from ac2zoom/TestGradio: direct link, hf CLI and curl.
- Browser
- Download file 396 Bytes
-
https://huggingface.co/spaces/ac2zoom/TestGradio/resolve/main/.pythonlibs/lib/python3.10/site-packages/altair/utils/compiler.py
- Command line
-
hf download hf://spaces/ac2zoom/TestGradio/.pythonlibs/lib/python3.10/site-packages/altair/utils/compiler.py
-
curl -L -o compiler.py https://huggingface.co/spaces/ac2zoom/TestGradio/resolve/main/.pythonlibs/lib/python3.10/site-packages/altair/utils/compiler.py
396 Bytes
| from typing import Callable | |
| from altair.utils import PluginRegistry | |
| # ============================================================================== | |
| # Vega-Lite to Vega compiler registry | |
| # ============================================================================== | |
| VegaLiteCompilerType = Callable[[dict], dict] | |
| class VegaLiteCompilerRegistry(PluginRegistry[VegaLiteCompilerType]): | |
| pass | |