Skip to content
This repository was archived by the owner on Jun 7, 2026. It is now read-only.

Commit 1964143

Browse files
authored
Fix importing of typing.Self (#220)
1 parent e1203d6 commit 1964143

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

demo/auth_user.py

Lines changed: 2 additions & 1 deletion
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)