Closed
Description
I'm trying to use sphinx-autodoc-typehints
to work around sphinx-doc/sphinx#10785.
However, I need to use an if TYPE_CHECKING
block to resolve an unavoidable circular import issue:
However, now I get:
WARNING: Cannot resolve forward reference in type annotations of "sybil.Sybil": name 'sybil' is not defined
...because it doesn't appear this package is considering imports within the if TYPE_CHECKING
.
Metadata
Metadata
Assignees
Labels
No labels