Download src/charts/__init__.py from DataEyond/Agentic-Service-Data-Eyond-Catalog: direct link, hf CLI and curl.
- Browser
- Download file 570 Bytes
-
https://huggingface.co/spaces/DataEyond/Agentic-Service-Data-Eyond-Catalog/resolve/refs%2Fpr%2F21/src/charts/__init__.py
- Command line
-
hf download hf://spaces/DataEyond/Agentic-Service-Data-Eyond-Catalog@refs/pr/21/src/charts/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/DataEyond/Agentic-Service-Data-Eyond-Catalog/resolve/refs%2Fpr%2F21/src/charts/__init__.py
570 Bytes
| """Charts (S2 visualization, SPINE_V2_PLAN §4.4): `render_chart` output persistence. | |
| Chart envelopes produced by the `render_chart` tool (`dataeyond.chart.v1`, SPINE_V2_PLAN | |
| §4.2) are persisted through a `ChartStore` right before the `done` SSE event, and served | |
| by `GET /api/v1/charts`. SSE stays text-only — charts are never embedded in the streamed | |
| answer. | |
| """ | |
| from .store import ( | |
| ChartRecord, | |
| ChartStore, | |
| NullChartStore, | |
| PostgresChartStore, | |
| ) | |
| __all__ = [ | |
| "ChartRecord", | |
| "ChartStore", | |
| "NullChartStore", | |
| "PostgresChartStore", | |
| ] | |