Configuration and Deployment

How to save, update, and deploy your pipeline.

While classes in the SDK already contain their methods for saving and updating VectorShift objects, it's also possible to use a configuration object to do the same. However, we recommend using class methods directly.

vectorshift.config.Config(
    api_key: str = None,
)

Creates a new configuration object with the API key. If the keys are not provided, they should already have been set as environment variables.

save_new_pipeline(pipeline: vectorshift.pipeline.Pipeline)
update_new_pipeline(pipeline: vectorshift.pipeline.Pipeline)

Methods for the Config class to save and update Pipelines, corresponding to the save and update methods in the Pipeline class. Returns the API response.

Last updated