Search documentation

Type to search the documentation.

Generated API reference

classyak.EphemeralDisk

yak.EphemeralDisk

Declare a bounded, disposable local filesystem for one invocation.

Declare a bounded, disposable local filesystem for one invocation.

size is the nominal filesystem image size. Filesystem metadata means
usable application space is smaller. The disk is destroyed when the
invocation ends and has no cross-invocation durability.

Python SDK reference · Yak 0.1.19release v0.1.19
provenancec2e8cf7c309abe376f390072b94a9ecd3e633080
Signature
python
EphemeralDisk(size: str)

Parameters#

NameTypeDefaultDescription
sizepositional-or-keyword str —

Nominal filesystem size as an integer GiB string from 1GiB
through 100GiB.

property

EphemeralDisk.size_bytes#

Return the validated nominal capacity in bytes.

Return the validated nominal capacity in bytes.

Returns#

int

Return the validated nominal capacity in bytes.

Related guides

Ephemeral Disks
BoundaryPreview limitations
  • This page is generated from the pinned release schema; update the site pin when a new release should be documented.
  • Lifecycle, persistence and operational context belong in the linked handwritten guides.