from plotly.basedatatypes import BaseTraceType class Chart: def trace(self) -> BaseTraceType: pass