Mount

class

gworker_client.resources.Mount

Read-only local-file-system mount, baked into the container image at deploy time. Use for static assets (model weights, config files) that don't change between runs. For mutable data, use Volume instead.

Class

python
1class Mount

Methods

from_local_dir

python
1from_local_dir(local: str, remote: str) -> Mount

Create a mount from a local directory path. The directory contents are snapshotted and embedded in the image at deploy time.

← Back to docs