Skip to content

Commit

Permalink
Add default values for test backwards-compat.
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Jan 23, 2024
1 parent 7408770 commit d444b55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion neon_hana/auth/client_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ def _create_tokens(self, encode_data: dict) -> dict:
"expiration": token_expiration}

def check_auth_request(self, client_id: str, username: str,
password: Optional[str], origin_ip: str):
password: Optional[str] = None,
origin_ip: str = "127.0.0.1"):
if client_id in self.authorized_clients:
print(f"Using cached client: {self.authorized_clients[client_id]}")
return self.authorized_clients[client_id]
Expand Down

0 comments on commit d444b55

Please sign in to comment.