We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1203d6 commit 1964143Copy full SHA for 1964143
demo/auth_user.py
@@ -1,11 +1,12 @@
1
import json
2
from dataclasses import asdict, dataclass
3
from datetime import datetime, timedelta
4
-from typing import Annotated, Any, Self
+from typing import Annotated, Any
5
6
import jwt
7
from fastapi import Header, HTTPException
8
from fastui.auth import AuthRedirect
9
+from typing_extensions import Self
10
11
JWT_SECRET = 'secret'
12
0 commit comments