Skip to content

Commit

Permalink
add decprecation warning for login method
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian-Katerndahl committed Oct 23, 2024
1 parent 3b1f22c commit 819c99b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions callusgs/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import os
from urllib.parse import unquote
import warnings
from warnings import deprecated
import requests
from tqdm import tqdm

Expand Down Expand Up @@ -1018,6 +1019,7 @@ def grid2ll(

return self._call_post("grid2ll", data=post_payload)

@deprecated("As of Feburary 2025, the API login via password is no longer supported.")
def login(self, username: str, password: str, user_context: Any = None):
"""
Upon a successful login, an API key will be returned. This key will be active for two
Expand Down

0 comments on commit 819c99b

Please sign in to comment.