Closed maximoguerrero closed 5 months ago
Current example will generate and error on load
def auth_callback(username: str, password: str) -> Optional[cl.User]: ^^^^^^^ File "/home/maximog/miniconda3/lib/python3.11/site-packages/chainlit/utils.py", line 64, in getattr module_path = registry[name]
KeyError: 'User'
Current example will generate and error on load
def auth_callback(username: str, password: str) -> Optional[cl.User]: ^^^^^^^ File "/home/maximog/miniconda3/lib/python3.11/site-packages/chainlit/utils.py", line 64, in getattr module_path = registry[name]