Skip to content

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengjieLi28 committed Jan 3, 2024
1 parent 10c42f1 commit 051728b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xinference/api/restful_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def init_auth_config(auth_config_file: Optional[str]):
)
for user in config.user_config:
user.password = get_password_hash(user.password)
common.XINFERENCE_OAUTH2_CONFIG = config
common.XINFERENCE_OAUTH2_CONFIG = config # type: ignore
return config

def is_authenticated(self):
Expand Down

0 comments on commit 051728b

Please sign in to comment.