Skip to content

Commit

Permalink
Use proper type for Mapped
Browse files Browse the repository at this point in the history
Co-authored-by: John Davis <jdavcs@gmail.com>
  • Loading branch information
davelopez and jdavcs committed Apr 16, 2024
1 parent 00d9865 commit 0a287f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2946,7 +2946,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(
Expand Down

0 comments on commit 0a287f2

Please sign in to comment.