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 <[email protected]>
  • Loading branch information
davelopez and jdavcs authored Apr 11, 2024
1 parent 45f4a7f commit aaad6b0
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 @@ -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(
Expand Down

0 comments on commit aaad6b0

Please sign in to comment.