Change auth env vars
This commit is contained in:
parent
77c318b32a
commit
3c45ae1d7b
|
@ -9,8 +9,8 @@ from requests.auth import AuthBase
|
||||||
|
|
||||||
class ProxyAuthProvider(RequestAuthProvider):
|
class ProxyAuthProvider(RequestAuthProvider):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.username = os.getenv("MLFLOW_TRACKING_USERNAME")
|
self.username = os.getenv("MLFLOW_PROXY_USERNAME")
|
||||||
self.password = os.getenv("MLFLOW_TRACKING_PASSWORD")
|
self.password = os.getenv("MLFLOW_PROXY_PASSWORD")
|
||||||
|
|
||||||
def get_name(self):
|
def get_name(self):
|
||||||
return "proxy_auth_provider"
|
return "proxy_auth_provider"
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@ from setuptools import find_packages, setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="mlflow-plugin-proxy-auth",
|
name="mlflow-plugin-proxy-auth",
|
||||||
version="0.0.3",
|
version="0.0.4",
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
install_requires=["mlflow"],
|
install_requires=["mlflow"],
|
||||||
entry_points={
|
entry_points={
|
||||||
|
|
Loading…
Reference in New Issue