File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
Versions follow [ Semantic Versioning] ( https://semver.org/> ) (<major >.<minor >.<patch >).
9
9
10
+ ### Fixed
11
+
12
+ - python <=3.8 uncompatible typing
13
+
10
14
## [ 0.0.5] - 2023-12-22
11
15
12
16
### Added
Original file line number Diff line number Diff line change 5
5
from types import ModuleType
6
6
from typing import Any
7
7
from typing import Dict
8
- from typing import List
9
8
10
9
import portpicker
11
10
import pytest
15
14
from canaille .core .models import User
16
15
from canaille .core .populate import fake_groups
17
16
from canaille .core .populate import fake_users
18
- from canaille .oidc .basemodels import Consent
19
17
from canaille .oidc .basemodels import Token
20
18
from canaille .oidc .installation import generate_keypair
21
19
from flask import Flask
@@ -107,7 +105,7 @@ def login(self, user):
107
105
"""
108
106
self .logged_user = user
109
107
110
- def consent (self , user , client = None ) -> Consent | List [ Consent ] :
108
+ def consent (self , user , client = None ):
111
109
"""Make a user consent to share data with OIDC clients.
112
110
113
111
:param client: If :const:`None`, all existing clients are consented.
You can’t perform that action at this time.
0 commit comments