Skip to content

Commit 24fbd4b

Browse files
committed
docstring formatting fixes
1 parent eab0b79 commit 24fbd4b

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

src/runloop_api_client/sdk/async_.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,17 +219,16 @@ class AsyncBlueprintOps:
219219
... dockerfile="FROM ubuntu:22.04\\nRUN apt-get update",
220220
... )
221221
>>> blueprints = await runloop.blueprint.list()
222-
222+
223223
To use a local directory as a build context, use an object.
224224
225225
Example:
226226
>>> from datetime import timedelta
227227
>>> from runloop_api_client.types.blueprint_build_parameters import BuildContext
228-
>>>
229228
>>> runloop = AsyncRunloopSDK()
230229
>>> obj = await runloop.object_storage.upload_from_dir(
231230
... "./",
232-
... ttl=timedelta(hours=1),
231+
... ttl=timedelta(hours=1),
233232
... )
234233
>>> blueprint = await runloop.blueprint.create(
235234
... name="my-blueprint",

src/runloop_api_client/sdk/sync.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,10 @@ class BlueprintOps:
224224
Example:
225225
>>> from datetime import timedelta
226226
>>> from runloop_api_client.types.blueprint_build_parameters import BuildContext
227-
>>>
228227
>>> runloop = RunloopSDK()
229228
>>> obj = runloop.object_storage.upload_from_dir(
230229
... "./",
231-
... ttl=timedelta(hours=1),
230+
... ttl=timedelta(hours=1),
232231
... )
233232
>>> blueprint = runloop.blueprint.create(
234233
... name="my-blueprint",

0 commit comments

Comments
 (0)