Skip to content

Commit e72e0c3

Browse files
committed
docstring formatting fixes
1 parent b174fb2 commit e72e0c3

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
@@ -216,17 +216,16 @@ class AsyncBlueprintOps:
216216
... dockerfile="FROM ubuntu:22.04\\nRUN apt-get update",
217217
... )
218218
>>> blueprints = await runloop.blueprint.list()
219-
219+
220220
To use a local directory as a build context, use an object.
221221
222222
Example:
223223
>>> from datetime import timedelta
224224
>>> from runloop_api_client.types.blueprint_build_parameters import BuildContext
225-
>>>
226225
>>> runloop = AsyncRunloopSDK()
227226
>>> obj = await runloop.object_storage.upload_from_dir(
228227
... "./",
229-
... ttl=timedelta(hours=1),
228+
... ttl=timedelta(hours=1),
230229
... )
231230
>>> blueprint = await runloop.blueprint.create(
232231
... name="my-blueprint",

src/runloop_api_client/sdk/sync.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,10 @@ class BlueprintOps:
221221
Example:
222222
>>> from datetime import timedelta
223223
>>> from runloop_api_client.types.blueprint_build_parameters import BuildContext
224-
>>>
225224
>>> runloop = RunloopSDK()
226225
>>> obj = runloop.object_storage.upload_from_dir(
227226
... "./",
228-
... ttl=timedelta(hours=1),
227+
... ttl=timedelta(hours=1),
229228
... )
230229
>>> blueprint = runloop.blueprint.create(
231230
... name="my-blueprint",

0 commit comments

Comments
 (0)