We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2daa7b7 commit 872688dCopy full SHA for 872688d
tabpfn_client/prompt_agent.py
@@ -1,8 +1,10 @@
1
import textwrap
2
import getpass
3
from password_strength import PasswordPolicy
4
+from typing import TYPE_CHECKING
5
-from tabpfn_client.service_wrapper import UserAuthenticationClient
6
+if TYPE_CHECKING:
7
+ from tabpfn_client.tabpfn_classifier import UserAuthenticationClient
8
9
10
class PromptAgent:
@@ -41,7 +43,7 @@ def prompt_welcome(cls):
41
43
print(cls.indent(prompt))
42
44
45
@classmethod
- def prompt_and_set_token(cls, user_auth_handler: UserAuthenticationClient):
46
+ def prompt_and_set_token(cls, user_auth_handler: "UserAuthenticationClient"):
47
# Choose between registration and login
48
prompt = "\n".join(
49
[
0 commit comments