from plotly.basedatatypes import BaseTraceType from typing import List class Chart: def traces(self) -> List[BaseTraceType]: pass