rebase.get_model

Resolve a deployed model handle from its underlying Function entrypoint.

Signature

rebase.get_model(project: str, name: str | None = None) -> ModelHandle

Behavior

Returns a typed handle when the underlying Function entrypoint is known:

EntrypointHandle operation
predicthandle.predict.remote(...)
optimizehandle.optimize.remote(...)
acthandle.act.remote(...)

On this page