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 @@ -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",
Original file line number Diff line number Diff 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",
You can’t perform that action at this time.
0 commit comments