0

I wanted to create that object structure:

@dataclass
class OrientedNode(DataClassJsonMixin):
    neighbor_oriented_nodes: List[OrientedNode] xxxx error
    
    @staticmethod
    def decode(self):
        pass

Unfortunatly, the member list declaration doesn't to be accepted in python3. Is there a way to allow that ?

khelwood
  • 55,782
  • 14
  • 81
  • 108
dev dev
  • 109
  • 15

0 Answers0