This repository was archived by the owner on Apr 26, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010import urllib .parse
1111import webbrowser
1212
13- from halo import Halo
13+ from yaspin import yaspin
14+ from yaspin .spinners import Spinners
1415
1516from fief_client import (
1617 Fief ,
@@ -233,8 +234,9 @@ def authorize(
233234 )
234235 webbrowser .open (authorization_url )
235236
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 ,
238240 )
239241 spinner .start ()
240242
@@ -263,7 +265,7 @@ def authorize(
263265 )
264266 self ._save_credentials (tokens , userinfo )
265267
266- spinner .succeed ("Successfully authenticated" )
268+ spinner .ok ("Successfully authenticated" )
267269
268270 return tokens , userinfo
269271
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module = "jwcrypto.*"
33ignore_missing_imports = true
44
55[[tool .mypy .overrides ]]
6- module = " halo .*"
6+ module = " yaspin .*"
77ignore_missing_imports = true
88
99[tool .ruff ]
@@ -113,7 +113,7 @@ flask = [
113113]
114114
115115cli = [
116- " halo " ,
116+ " yaspin " ,
117117]
118118
119119[project .urls ]
You can’t perform that action at this time.
0 commit comments