models:pull
rai models:pull [OPTIONS]Pull remote model changes for the current model into shared_model.py.
Targets the current model configured by deployment.public_schema in
raiconfig.yaml.
Options
| Option | Type | Description |
|---|---|---|
--path | file | Path to the model file. The shared model is written to shared_model.py at the project root (nearest ancestor with pyproject.toml). |
--force | Boolean | Overwrite shared_model.py even if it has been edited locally since the last pull or deploy. The existing file is backed up to a timestamped shared_model.py.<timestamp>.bak. Default: False. |