From c17d6bd12dbc23ae2bddb2224cf2379238c0ceb3 Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Mon, 26 Feb 2024 19:32:57 +0100 Subject: [PATCH] Fix importing of typing.Self --- demo/auth_user.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demo/auth_user.py b/demo/auth_user.py index 0faf3fb0..c711cc95 100644 --- a/demo/auth_user.py +++ b/demo/auth_user.py @@ -1,11 +1,12 @@ import json from dataclasses import asdict, dataclass from datetime import datetime, timedelta -from typing import Annotated, Any, Self +from typing import Annotated, Any import jwt from fastapi import Header, HTTPException from fastui.auth import AuthRedirect +from typing_extensions import Self JWT_SECRET = 'secret'