Skip to content

Conversation

@lord-haffi
Copy link
Collaborator

With this design: Only use Forward References in type annotations i.e. wrap the type inside "" and import them only for mypy to prevent type check errors using the flag TYPE_CHECKING. This should prevent any circular import errors.

@lord-haffi lord-haffi self-assigned this May 7, 2024
@lord-haffi lord-haffi requested review from hf-krechan and levtoji May 7, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants