mirror of https://github.com/langgenius/dify.git
ECO-171: adding comments for expire_at as clarification
This commit is contained in:
parent
30594978f9
commit
b51bf33b1e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue