Skip to content

Commit 8317d2a

Browse files
chore: add missing docstrings
1 parent 6e4a4a9 commit 8317d2a

Some content is hidden

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

42 files changed

+220
-0
lines changed

src/runloop_api_client/types/agent_list_view.py

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

1010

1111
class AgentListView(BaseModel):
12+
"""A paginated list of Agents."""
13+
1214
agents: List[AgentView]
1315
"""The list of Agents."""
1416

src/runloop_api_client/types/agent_view.py

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

1010

1111
class AgentView(BaseModel):
12+
"""An Agent represents a registered AI agent entity."""
13+
1214
id: str
1315
"""The unique identifier of the Agent."""
1416

src/runloop_api_client/types/benchmark_run_view.py

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

1010

1111
class BenchmarkRunView(BaseModel):
12+
"""
13+
A BenchmarkRunView represents a run of a complete set of Scenarios, organized under a Benchmark.
14+
"""
15+
1216
id: str
1317
"""The ID of the BenchmarkRun."""
1418

src/runloop_api_client/types/benchmark_view.py

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

1111

1212
class BenchmarkView(BaseModel):
13+
"""
14+
A BenchmarkDefinitionView represents a grouped set of Scenarios that together form a Benchmark.
15+
"""
16+
1317
id: str
1418
"""The ID of the Benchmark."""
1519

src/runloop_api_client/types/blueprint_build_parameters.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,17 @@
1111

1212

1313
class BuildContext(BaseModel):
14+
"""A build context backed by an Object."""
15+
1416
object_id: str
1517
"""The ID of an object, whose contents are to be used as a build context."""
1618

1719
type: Literal["object"]
1820

1921

2022
class ServiceCredentials(BaseModel):
23+
"""The credentials of the container service."""
24+
2125
password: str
2226
"""The password of the container service."""
2327

src/runloop_api_client/types/blueprint_create_params.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,17 @@ class BlueprintCreateParams(TypedDict, total=False):
7171

7272

7373
class BuildContext(TypedDict, total=False):
74+
"""A build context backed by an Object."""
75+
7476
object_id: Required[str]
7577
"""The ID of an object, whose contents are to be used as a build context."""
7678

7779
type: Required[Literal["object"]]
7880

7981

8082
class ServiceCredentials(TypedDict, total=False):
83+
"""The credentials of the container service."""
84+
8185
password: Required[str]
8286
"""The password of the container service."""
8387

src/runloop_api_client/types/blueprint_preview_params.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,17 @@ class BlueprintPreviewParams(TypedDict, total=False):
7171

7272

7373
class BuildContext(TypedDict, total=False):
74+
"""A build context backed by an Object."""
75+
7476
object_id: Required[str]
7577
"""The ID of an object, whose contents are to be used as a build context."""
7678

7779
type: Required[Literal["object"]]
7880

7981

8082
class ServiceCredentials(TypedDict, total=False):
83+
"""The credentials of the container service."""
84+
8185
password: Required[str]
8286
"""The password of the container service."""
8387

src/runloop_api_client/types/blueprint_view.py

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

1111

1212
class ContainerizedServiceCredentials(BaseModel):
13+
"""The credentials of the container service."""
14+
1315
password: str
1416
"""The password of the container service."""
1517

@@ -41,6 +43,11 @@ class ContainerizedService(BaseModel):
4143

4244

4345
class BlueprintView(BaseModel):
46+
"""Blueprints are ways to create customized starting points for Devboxes.
47+
48+
They allow you to define custom starting points for Devboxes such that environment set up can be cached to improve Devbox boot times.
49+
"""
50+
4451
id: str
4552
"""The id of the Blueprint."""
4653

src/runloop_api_client/types/devbox_view.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ class StateTransition(BaseModel):
3131

3232

3333
class DevboxView(BaseModel):
34+
"""A Devbox represents a virtual development environment.
35+
36+
It is an isolated sandbox that can be given to agents and used to run arbitrary code such as AI generated code.
37+
"""
38+
3439
id: str
3540
"""The ID of the Devbox."""
3641

src/runloop_api_client/types/devboxes/browser_view.py

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

88

99
class BrowserView(BaseModel):
10+
"""
11+
A Browser represents a managed implementation of a browser like Chromiumon top of Devboxes. It includes the tunnel to the live screen and the underlying DevboxView.
12+
"""
13+
1014
connection_url: str
1115
"""
1216
The url to enable remote connection from browser automation tools like

0 commit comments

Comments
 (0)