Search documentation

Type to search the documentation.

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
provenancec2e8cf7c309abe376f390072b94a9ecd3e633080
Signature
python
VolumeFile(volume: 'Volume', path: str, mode: str = 'r')

Parameters#

NameTypeDefaultDescription
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
python
close() -> None

Returns#

None
No 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.