Generated API reference
classyak.VolumeFile
yak.VolumeFile
Small-file convenience view backed by local memory and explicit staging.
Small-file convenience view backed by local memory and explicit staging.
Python SDK reference · Yak 0.1.19release v0.1.19
provenance
c2e8cf7c309abe376f390072b94a9ecd3e633080Signature
VolumeFile(volume: 'Volume', path: str, mode: str = 'r')
Parameters#
| Name | Type | Default | Description |
|---|---|---|---|
volumepositional-or-keyword |
'Volume' |
— |
Volume that owns the file. |
pathpositional-or-keyword |
str |
— |
Relative file path inside the Volume. |
modepositional-or-keyword |
str |
'r' |
File mode using the supported read/write/append flags. |
method
VolumeFile.close#
Stage writable bytes locally; only ``Volume.publish`` makes them durable.
Stage writable bytes locally; only Volume.publish makes them durable.
Signature
close() -> None
Returns#
NoneNo description supplied.
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.