Mount
classgworker_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 MountMethods
from_local_dir
python
1from_local_dir(local: str, remote: str) -> MountCreate a mount from a local directory path. The directory contents are snapshotted and embedded in the image at deploy time.