14 lines
314 B
Python
14 lines
314 B
Python
from __future__ import annotations
|
|
|
|
from typing import Any
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
|
|
class EChartsOptionResponse(BaseModel):
|
|
"""Wraps the generated ECharts option dict."""
|
|
|
|
option: dict[str, Any] = Field(
|
|
..., description="Complete ECharts option object ready for setOption()"
|
|
)
|