Skip to content

Commit

Permalink
Fix last_context
Browse files Browse the repository at this point in the history
  • Loading branch information
hypergonial committed Nov 23, 2023
1 parent 8f15e28 commit 7e27d2e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
5 changes: 5 additions & 0 deletions docs/source/changelogs/v3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Versions 3.0+ Changelog

These are all the changelogs for stable releases of hikari-miru (version 3.0.0 to present).

Version 3.3.1
=============

- Fix ``View.last_context`` and ``Modal.last_context`` incorrectly casting variable types.

Version 3.3.0
=============

Expand Down
2 changes: 1 addition & 1 deletion miru/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"get_view",
)

__version__ = "3.3.0"
__version__ = "3.3.1"

# MIT License
#
Expand Down
3 changes: 1 addition & 2 deletions miru/modal.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
from .abc.item_handler import ItemHandler
from .context.modal import ModalContext

if t.TYPE_CHECKING:
ModalContextT = t.TypeVar("ModalContextT", bound=ModalContext)
ModalContextT = t.TypeVar("ModalContextT", bound=ModalContext)

__all__ = ("Modal",)

Expand Down
3 changes: 1 addition & 2 deletions miru/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@

logger = logging.getLogger(__name__)

if t.TYPE_CHECKING:
ViewContextT = t.TypeVar("ViewContextT", bound=ViewContext)
ViewContextT = t.TypeVar("ViewContextT", bound=ViewContext)

__all__ = (
"View",
Expand Down

0 comments on commit 7e27d2e

Please sign in to comment.