Updating endpoint with a configuration file
Verta's client and CLI support updating Endpoint with JSON or YAML configuration file. This tutorial will show how it can be done, using the client and CLI.
Configuration file
Sometimes, it is more convenient to specify update configuration in a separate, human-readable file, than to have everything in a Python script or a split CLI command.
For example:
The JSON representations for endpoint configuration values can be found in their respective Python API documentation entries.
This allows for easier inspection and modification later on. Users can find out more about the fields of the configuration file here.
Updating via client
With the client, instead of using Endpoint.update()
, we will use the Endpoint.update_from_config()
method, which takes only the path to the configuration file:
Last updated