pb.deployments.get
pb.deployments.get
Fetch a deployment by name
Parameters:
deployment_ref: str
String containing the name of the private serverless deployment
Returns:
Deployment
Examples:
Get the specified deployment
deployment = pb.deployments.get("my-mistral-deployment")
NOTE
Note that the config result associated with a deployment does not include the hf_token
field, even if set. The
hf_token
field is persisted on the backend.