Skip to content

Commit

Permalink
Fix type annotation for api_keys.key
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed May 13, 2024
1 parent 07a16ac commit 25ed108
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 @@ -10914,7 +10914,7 @@ class APIKeys(Base, RepresentById):
id: Mapped[int] = mapped_column(primary_key=True)
create_time: Mapped[datetime] = mapped_column(default=now, nullable=True)
user_id: Mapped[Optional[int]] = mapped_column(ForeignKey("galaxy_user.id"), index=True)
key: Mapped[Optional[str]] = mapped_column(TrimmedString(32), index=True, unique=True)
key: Mapped[str] = mapped_column(TrimmedString(32), index=True, unique=True)
user: Mapped[Optional["User"]] = relationship(back_populates="api_keys")
deleted: Mapped[bool] = mapped_column(index=True, server_default=false())

Expand Down

0 comments on commit 25ed108

Please sign in to comment.