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
provenance
c2e8cf7c309abe376f390072b94a9ecd3e633080Signature
EphemeralDisk(size: str)
Parameters#
| Name | Type | Default | Description |
|---|---|---|---|
sizepositional-or-keyword |
str |
— |
Nominal filesystem size as an integer GiB string from |
property
EphemeralDisk.size_bytes#
Return the validated nominal capacity in bytes.
Return the validated nominal capacity in bytes.
Returns#
intReturn the validated nominal capacity in bytes.
Related guides
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.