File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 11from .auth import OpenIdConnectAuth # noqa
22from .config import OpenIdConnectSettings # noqa
33
4- __version__ = "0.3 .0"
4+ __version__ = "0.4 .0"
Original file line number Diff line number Diff line change 11from typing import Optional , Sequence
22
33from pydantic import AnyHttpUrl
4- from pydantic_settings import BaseSettings
4+
5+ try :
6+ from pydantic .v1 import BaseSettings # type:ignore
7+ except ImportError :
8+ from pydantic import BaseSettings # type:ignore
59
610
711class OpenIdConnectSettings (BaseSettings ):
Original file line number Diff line number Diff line change @@ -16,8 +16,7 @@ authors = [
1616]
1717dependencies = [
1818 " cryptography>=43.0.0" ,
19- " fastapi>=0.112.0" ,
20- " pydantic-settings>=2.2.1" ,
19+ " fastapi>=0.7.0" ,
2120 " pyjwt>=2.9.0" ,
2221]
2322description = " Authentication & authorization helpers for eoAPI"
You can’t perform that action at this time.
0 commit comments