Skip to content

Commit 22821cb

Browse files
committed
clarify from_blueprint and from_snapshot docstrings
1 parent fe04fd6 commit 22821cb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/runloop_api_client/sdk/async_scenario_builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def name(self) -> str:
8585
return self._name
8686

8787
def from_blueprint(self, blueprint: AsyncBlueprint) -> Self:
88-
"""Set the blueprint for the scenario environment.
88+
"""Set a blueprint to define the baseline environment for the scenario.
8989
9090
:param blueprint: Blueprint to use
9191
:type blueprint: AsyncBlueprint
@@ -97,7 +97,7 @@ def from_blueprint(self, blueprint: AsyncBlueprint) -> Self:
9797
return self
9898

9999
def from_snapshot(self, snapshot: AsyncSnapshot) -> Self:
100-
"""Set the snapshot for the scenario environment.
100+
"""Set a snapshot to define the baseline environment for the scenario.
101101
102102
:param snapshot: Snapshot to use
103103
:type snapshot: AsyncSnapshot

src/runloop_api_client/sdk/scenario_builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def name(self) -> str:
8585
return self._name
8686

8787
def from_blueprint(self, blueprint: Blueprint) -> Self:
88-
"""Set the blueprint for the scenario environment.
88+
"""Set a blueprint to define the baseline environment for the scenario.
8989
9090
:param blueprint: Blueprint to use
9191
:type blueprint: Blueprint
@@ -97,7 +97,7 @@ def from_blueprint(self, blueprint: Blueprint) -> Self:
9797
return self
9898

9999
def from_snapshot(self, snapshot: Snapshot) -> Self:
100-
"""Set the snapshot for the scenario environment.
100+
"""Set a snapshot to define the baseline environment for the scenario.
101101
102102
:param snapshot: Snapshot to use
103103
:type snapshot: Snapshot

0 commit comments

Comments
 (0)