Skip to content

Commit

Permalink
chore: historical code-style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Chikovani committed Dec 18, 2024
1 parent 3f21004 commit 8039faf
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion docs/configuration/examples/microsoft.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ OIDC_SCOPE = "openid,profile,email"
OIDC_GROUP_NAME = "mlflow_users_group_name"
OIDC_ADMIN_GROUP_NAME = "mlflow_admins_group_name"
```

2 changes: 0 additions & 2 deletions docs/configuration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,3 @@ The plugin required the following environment variables but also supported `.env
| REDIS_USERNAME | Redis username | None |
| REDIS_PASSWORD | Redis password | None |
| REDIS_SSL | Use SSL | false |


1 change: 0 additions & 1 deletion docs/permission-management/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@


## Permissions hierarchy

2 changes: 2 additions & 0 deletions mlflow_oidc_auth/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
load_dotenv() # take environment variables from .env.
app.logger.setLevel(os.environ.get("LOG_LEVEL", "INFO"))


class AppConfig:
def __init__(self):
self.DEFAULT_MLFLOW_PERMISSION = os.environ.get("DEFAULT_MLFLOW_PERMISSION", "MANAGE")
Expand Down Expand Up @@ -52,4 +53,5 @@ def __init__(self):
except ImportError:
app.logger.error(f"Cache module for {self.CACHE_TYPE} could not be imported.")


config = AppConfig()
2 changes: 1 addition & 1 deletion web-ui/src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ng-container *ngIf="!loading && this.user; else loader">
<ml-header
<ml-header
[name]="user.display_name"
[admin]="user.is_admin">
</ml-header>
Expand Down

0 comments on commit 8039faf

Please sign in to comment.