Skip to content

models:pull

Terminal window
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

OptionTypeDescription
--pathfilePath to the model file. The shared model is written to shared_model.py at the project root (nearest ancestor with pyproject.toml).
--forceBooleanOverwrite 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.

See Also