Remove unused View._expires_at private function

This commit is contained in:
Rapptz 2022-03-13 11:50:09 -04:00
parent 64c6639f4b
commit c0890bfbc1

View File

@ -250,12 +250,6 @@ class View:
view.add_item(_component_to_item(component)) view.add_item(_component_to_item(component))
return view return view
@property
def _expires_at(self) -> Optional[float]:
if self.timeout:
return time.monotonic() + self.timeout
return None
def add_item(self, item: Item) -> None: def add_item(self, item: Item) -> None:
"""Adds an item to the view. """Adds an item to the view.