Overloading __iter__ for a Python dataclass with fields containing list of another dataclass

后端 未结 0 1916
借酒劲吻你
借酒劲吻你 2020-12-25 10:01

I don\'t know how to properly overload the iterator for my WholeImage class.

from dataclasses import dataclass, astuple
from typing import List
import numpy a         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题