mlflow-watsonml icon indicating copy to clipboard operation
mlflow-watsonml copied to clipboard

Move client connect to individual methods

Open dhruv5995 opened this issue 1 year ago • 0 comments

The current method of authentication requires setting the credentials in a .env and using the environment variables while initializing the class. However, in use cases where we are using this plugin in a server, environment variables conflict may occur in different requests. In addition to that, the current approach doesn't let us change deployment spaces.

I propose an approach where the credentials and deployment space names are passed as inputs to individual methods like create, update, delete etc. This enables us to change deployment space and we don't have to worry about environment variable names conflict.

dhruv5995 avatar Apr 16 '23 23:04 dhruv5995