This repository was archived by the owner on Apr 26, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 10
10
import urllib .parse
11
11
import webbrowser
12
12
13
- from halo import Halo
13
+ from yaspin import yaspin
14
+ from yaspin .spinners import Spinners
14
15
15
16
from fief_client import (
16
17
Fief ,
@@ -233,8 +234,9 @@ def authorize(
233
234
)
234
235
webbrowser .open (authorization_url )
235
236
236
- spinner = Halo (
237
- text = "Please complete authentication in your browser." , spinner = "dots"
237
+ spinner = yaspin (
238
+ text = "Please complete authentication in your browser." ,
239
+ spinner = Spinners .dots ,
238
240
)
239
241
spinner .start ()
240
242
@@ -263,7 +265,7 @@ def authorize(
263
265
)
264
266
self ._save_credentials (tokens , userinfo )
265
267
266
- spinner .succeed ("Successfully authenticated" )
268
+ spinner .ok ("Successfully authenticated" )
267
269
268
270
return tokens , userinfo
269
271
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module = "jwcrypto.*"
3
3
ignore_missing_imports = true
4
4
5
5
[[tool .mypy .overrides ]]
6
- module = " halo .*"
6
+ module = " yaspin .*"
7
7
ignore_missing_imports = true
8
8
9
9
[tool .ruff ]
@@ -113,7 +113,7 @@ flask = [
113
113
]
114
114
115
115
cli = [
116
- " halo " ,
116
+ " yaspin " ,
117
117
]
118
118
119
119
[project .urls ]
You can’t perform that action at this time.
0 commit comments