ECO-171: adding comments for expire_at as clarification

This commit is contained in:
Charles Yao
2025-11-24 00:02:37 -06:00
parent 30594978f9
commit b51bf33b1e

View File

@@ -151,6 +151,7 @@ class EndUserAuthenticationProvider(TypeBase):
credential_type: Mapped[CredentialType] = mapped_column(
String(32), nullable=False, default=CredentialType.API_KEY
)
# Unix timestamp in seconds since epoch (1970-01-01 UTC); -1 indicates no expiration
expires_at: Mapped[int] = mapped_column(sa.BigInteger, nullable=False, default=-1)
@property