Byron Hsu
05/09/2023, 5:27 AMKetan (kumare3)
Byron Hsu
05/10/2023, 5:29 AMfrom rich.console import Console
from rich.text import Text
from rich.style import Style
# Create a console instance
console = Console()
# Create the text with formatted styles and colors
text = Text.assemble(
f"To Authenticate, navigate in a browser to the following URL: ",
Text(resp.verification_uri, style=Style(color="blue", underline=True)),
f" and enter code: ",
Text(resp.user_code, style=Style(color="blue")),
)
# Print the text to the console
console.print(text)
Ketan (kumare3)
Byron Hsu
05/11/2023, 4:56 AM