From aaad6b031006a7c9a1ae5deb3cb42b7a3dc937c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20L=C3=B3pez?= <46503462+davelopez@users.noreply.github.com> Date: Thu, 11 Apr 2024 16:49:18 +0200 Subject: [PATCH] Use proper type for Mapped Co-authored-by: John Davis --- lib/galaxy/model/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/model/__init__.py b/lib/galaxy/model/__init__.py index 3f53e0dd7082..2f68c4cfc65b 100644 --- a/lib/galaxy/model/__init__.py +++ b/lib/galaxy/model/__init__.py @@ -2948,7 +2948,7 @@ class Notification(Base, Dictifiable, RepresentById): variant: Mapped[str] = mapped_column( String(16), index=True, nullable=True ) # Defines the 'importance' of the notification ('info', 'warning', 'urgent', etc.). Used for filtering, highlight rendering, etc - dispatched: Mapped[Boolean] = mapped_column( + dispatched: Mapped[bool] = mapped_column( Boolean, index=True, default=False ) # Whether the notification has been dispatched to users via other channels galaxy_url: Mapped[Optional[str]] = mapped_column(