Compare commits
No commits in common. "main" and "0.1.0" have entirely different histories.
|
@ -9,8 +9,6 @@ jobs:
|
|||
build-n-publish:
|
||||
name: Build and publish Python 🐍 distributions 📦 to PyPI
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
id-token: write
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Set up Python 3.10
|
||||
|
@ -30,5 +28,7 @@ jobs:
|
|||
- name: Build a binary wheel
|
||||
run: >-
|
||||
python setup.py sdist bdist_wheel
|
||||
- name: Publish package distributions to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
- name: Publish distribution 📦 to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@master
|
||||
with:
|
||||
password: ${{ secrets.PYPI_API_TOKEN }}
|
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2023 Matúš Námešný
|
||||
Copyright (c) 2023 Mathis
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Mlflow Plugin Proxy Auth
|
||||
|
||||
Provides authentication to Mlflow server using [Proxy-Authorization](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authorization) header.
|
||||
Provides authentication to Mlflow server using [Proxy-Authorization](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authorization).
|
||||
|
||||
## Usage
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
"""Mlflow plugin proxy auth"""
|
||||
|
||||
import base64
|
||||
import os
|
||||
|
||||
|
@ -10,8 +8,6 @@ from requests.auth import AuthBase
|
|||
|
||||
|
||||
class ProxyAuthProvider(RequestAuthProvider):
|
||||
""""Mlflow plugin class"""
|
||||
|
||||
def __init__(self):
|
||||
self.username = os.getenv("MLFLOW_PROXY_USERNAME")
|
||||
self.password = os.getenv("MLFLOW_PROXY_PASSWORD")
|
||||
|
@ -24,8 +20,6 @@ class ProxyAuthProvider(RequestAuthProvider):
|
|||
|
||||
|
||||
class ProxyAuth(AuthBase):
|
||||
"""Requests proxy auth class"""
|
||||
|
||||
def __init__(self, username, password):
|
||||
self.username = username
|
||||
self.password = password
|
||||
|
|
Loading…
Reference in New Issue