mirror of
https://github.com/langgenius/dify.git
synced 2025-12-23 03:02:59 -05:00
ECO-171: adding comments for expire_at as clarification
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user