Skip to content

Commit 1964143

Browse files
authoredFeb 27, 2024··
Fix importing of typing.Self (#220)
1 parent e1203d6 commit 1964143

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎demo/auth_user.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import json
22
from dataclasses import asdict, dataclass
33
from datetime import datetime, timedelta
4-
from typing import Annotated, Any, Self
4+
from typing import Annotated, Any
55

66
import jwt
77
from fastapi import Header, HTTPException
88
from fastui.auth import AuthRedirect
9+
from typing_extensions import Self
910

1011
JWT_SECRET = 'secret'
1112

0 commit comments

Comments
 (0)
Please sign in to comment.