Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions sdk/python/packages/flet/src/flet/controls/base_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@


if TYPE_CHECKING:
from .base_page import BasePage
from .keys import KeyValue
from .page import Page

Expand Down Expand Up @@ -265,7 +264,7 @@ def parent(self) -> Optional["BaseControl"]:
return parent_ref() if parent_ref else None

@property
def page(self) -> "Union[Page, BasePage]":
def page(self) -> "Page":
"""
The page to which this control belongs to.
"""
Expand Down
Loading