これってどうすれば良いんだっけ…?誰かヒントをくれ〜
DateTimeSet = list[tuple[datetime, datetime]] class TickData: def __init__(self, from_dt: datetime, until_dt: datetime, df: pd.DataFrame, base_dir: str, freq: str = 'H', parallel: bool = False): self.from_dt = from_dt self.until_dt = until_dt self.df = df self.base_dir = base_dir self.parallel = parallel self.freq = freq def _loop_export_procedure(self, dt_set: DatetimeSet): # ←ここでエラー (略)
NameError: name 'DatetimeSet' is not defined