Update endpoint
update(args)
Update custom endpoint with TruServeClient.
serve.update(
alias ="my_custom_endpoint",
script_path="endpoint_v2.py",
local_file=False
)
Parameters
Param | Type | Description | Required |
---|---|---|---|
alias | str | Unique value to identify endpoint | True |
title | str | Title of endpoint | False |
instance_type | Instance Type | Type of the Instance | False |
instance_count | int | Number of the Instances | False |
script_path | str | Python script | False |
requirements_path | str | Text file with needed requirements | False |
description | str | Description for endpoint | False |
local_file | bool | It means you are uploading Script and Requirements Path locally, or False if you want to get them from TruStorage | False, default True |