Skip to content

Add or update Python client constructor to streamline in-cluster initialization #1644

@deliahu

Description

@deliahu

Description

There should be a simple way for users to in initialize the Cortex Python client from within their Predictor implementation.

Motivation

This would be useful for tasks such as updating an API after a batch job finishes

Implementation

client() would not have to take in an env name, and when not provided, it will use the default environment. The operator would mount a configmap and set CORTEX_CLI_CONFIG_DIR to point to it

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions