Skip to content

Commit 7af2e9c

Browse files
feat: Enhance AuthAgent model with last_auth_check_at field
1 parent d317cd7 commit 7af2e9c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 82
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-b6957db438b01d979b62de21d4e674601b37d55b850b95a6e2b4c771aad5e840.yml
3-
openapi_spec_hash: 1c8aac8322bc9df8f1b82a7e7a0c692b
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-dac11bdb857e700a8c39d183e753ddd1ebaaca69fd9fc5ee57d6b56b70b00e6e.yml
3+
openapi_spec_hash: 78fbc50dd0b61cdc87564fbea278ee23
44
config_hash: a4b4d14bdf6af723b235a6981977627c

src/kernel/types/agents/auth_agent.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3+
from typing import Optional
4+
from datetime import datetime
35
from typing_extensions import Literal
46

57
from ..._models import BaseModel
@@ -23,3 +25,6 @@ class AuthAgent(BaseModel):
2325

2426
status: Literal["AUTHENTICATED", "NEEDS_AUTH"]
2527
"""Current authentication status of the managed profile"""
28+
29+
last_auth_check_at: Optional[datetime] = None
30+
"""When the last authentication check was performed"""

0 commit comments

Comments
 (0)