Closed zyannes closed 2 years ago
Neat. Can you please add a test? For that, you would normally edit https://github.com/ahrefs/atd/blob/master/atdpy/test/atd-input/everything.atd and https://github.com/ahrefs/atd/blob/master/atdpy/test/python-tests/test_atdpy.py
A comment explaining why we need from __future__ import annotations
would be great too.
Use Python's future annotations to support forward declarations so that atdpy can generate classes with recursive references.
PR checklist
CHANGES.md
is up-to-date