File tree Expand file tree Collapse file tree
src/runloop_api_client/sdk Expand file tree Collapse file tree Original file line number Diff line number Diff 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",
Original file line number Diff line number Diff 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",
You can’t perform that action at this time.
0 commit comments