Skip to content

Commit

Permalink
Airflow bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
dyakovri committed Apr 25, 2024
1 parent d2d2113 commit 5aeb455
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion auth_lib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .methods import AuthLib

__version__ = '2024.04.25.2'
__version__ = '2024.04.25.4'
__all__ = ["AuthLib"]
4 changes: 2 additions & 2 deletions auth_lib/airflow/auth_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
@lru_cache
def get_auth_api() -> AuthLib:
auth_api = AuthLib(
auth_url=conf.get("api", "auth_url") or os.getenv("AUTH_URL") or DEFAULT_AUTH_URL,
userdata_url=conf.get("api", "userdata_url") or os.getenv("USERDATA_URL") or DEFAULT_USERDATA_URL,
auth_url=conf.get("api", "auth_url", fallback=None) or os.getenv("AUTH_URL") or DEFAULT_AUTH_URL,
userdata_url=conf.get("api", "userdata_url", fallback=None) or os.getenv("USERDATA_URL") or DEFAULT_USERDATA_URL,
)
return auth_api

Expand Down

0 comments on commit 5aeb455

Please sign in to comment.