Description
Due to a circular import, the AnyComponent
alias is imported in an if TYPE_CHECKING:
block in fastui.components.forms
:
FastUI/src/python-fastui/fastui/components/forms.py
Lines 12 to 13 in 5d9d604
and later used in one of the defined models for this module:
FastUI/src/python-fastui/fastui/components/forms.py
Lines 187 to 191 in 5d9d604
While this used to work in <2.10 because of namespace pollution inconsistencies, it doesn't with 2.10 as AnyComponent
(which doesn't exist in the module namespace at runtime) isn't available.
Best way forward would be to fix the circular import, haven't found a viable implementation yet.
Metadata
Metadata
Assignees
Labels
No labels