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 (deployment.schema, set via rai models switch).

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. The existing file is backed up to a timestamped shared_model.py.TIMESTAMP.bak. Default: False.
--from-parentBooleanStatic branches only: reconcile the parent’s latest changes into this branch (a static branch otherwise keeps its parent frozen). Default: False.

See Also