Skip to content

Commit 75fa7cb

Browse files
chore: add missing docstrings
1 parent c8d571c commit 75fa7cb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+171
-0
lines changed

src/kernel/types/agents/agent_auth_discover_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010

1111
class AgentAuthDiscoverResponse(BaseModel):
12+
"""Response from discover endpoint matching AuthBlueprint schema"""
13+
1214
success: bool
1315
"""Whether discovery succeeded"""
1416

src/kernel/types/agents/agent_auth_invocation_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010

1111
class AgentAuthInvocationResponse(BaseModel):
12+
"""Response from get invocation endpoint"""
13+
1214
app_name: str
1315
"""App name (org name at time of invocation creation)"""
1416

src/kernel/types/agents/agent_auth_submit_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010

1111
class AgentAuthSubmitResponse(BaseModel):
12+
"""Response from submit endpoint matching SubmitResult schema"""
13+
1214
success: bool
1315
"""Whether submission succeeded"""
1416

src/kernel/types/agents/auth/invocation_exchange_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77

88
class InvocationExchangeResponse(BaseModel):
9+
"""Response from exchange endpoint"""
10+
911
invocation_id: str
1012
"""Invocation ID"""
1113

src/kernel/types/agents/auth_agent.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99

1010
class AuthAgent(BaseModel):
11+
"""
12+
An auth agent that manages authentication for a specific domain and profile combination
13+
"""
14+
1115
id: str
1216
"""Unique identifier for the auth agent"""
1317

src/kernel/types/agents/auth_agent_invocation_create_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99

1010
class AuthAgentInvocationCreateResponse(BaseModel):
11+
"""Response from creating an auth agent invocation"""
12+
1113
expires_at: datetime
1214
"""When the handoff code expires"""
1315

src/kernel/types/agents/auth_create_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,7 @@ class AuthCreateParams(TypedDict, total=False):
2626

2727

2828
class Proxy(TypedDict, total=False):
29+
"""Optional proxy configuration"""
30+
2931
proxy_id: str
3032
"""ID of the proxy to use"""

src/kernel/types/agents/discovered_field.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010

1111
class DiscoveredField(BaseModel):
12+
"""A discovered form field"""
13+
1214
label: str
1315
"""Field label"""
1416

src/kernel/types/app_list_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111

1212
class AppListResponse(BaseModel):
13+
"""Summary of an application version."""
14+
1315
id: str
1416
"""Unique identifier for the app version"""
1517

src/kernel/types/browser_persistence.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@
66

77

88
class BrowserPersistence(BaseModel):
9+
"""DEPRECATED: Use timeout_seconds (up to 72 hours) and Profiles instead."""
10+
911
id: str
1012
"""DEPRECATED: Unique identifier for the persistent browser session."""

0 commit comments

Comments
 (0)