File tree Expand file tree Collapse file tree 5 files changed +17
-8
lines changed Expand file tree Collapse file tree 5 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
9
9
## [ unreleased]
10
10
11
+ ## [ 0.16.1] - 2023-09-19
12
+
13
+ - Uses ` nest_asyncio ` patch in event loop - sync to async
14
+ - Retry Querier request on ` AsyncLibraryNotFoundError `
11
15
12
16
## [ 0.16.0] - 2023-09-13
13
17
@@ -535,6 +539,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
535
539
}
536
540
```
537
541
542
+ # # [0.14.10] - 2023-09-31
543
+
544
+ - Uses nest_asyncio patch in event loop - sync to async
545
+
546
+ # # [0.14.9] - 2023-09-28
547
+
548
+ - Add logic to retry network calls if the core returns status 429
549
+
538
550
# # [0.14.8] - 2023-07-07
539
551
# # Fixes
540
552
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- # check if we need to merge master into this branch------------
4
- if [[ $( git log origin/master ^HEAD) ]]; then
5
- echo " You need to merge master into this branch. Exiting"
6
- exit 1
7
- fi
8
-
9
3
# get version------------
10
4
version=` cat setup.py | grep -e ' version=' `
11
5
while IFS=' "' read -ra ADDR; do
Original file line number Diff line number Diff line change @@ -87,4 +87,4 @@ <h2>Index</h2>
87
87
< p > Generated by < a href ="https://pdoc3.github.io/pdoc " title ="pdoc: Python API documentation generator "> < cite > pdoc</ cite > 0.10.0</ a > .</ p >
88
88
</ footer >
89
89
</ body >
90
- </ html >
90
+ </ html >
Original file line number Diff line number Diff line change 70
70
71
71
setup (
72
72
name = "supertokens_python" ,
73
- version = "0.16.0 " ,
73
+ version = "0.16.1 " ,
74
74
author = "SuperTokens" ,
75
75
license = "Apache 2.0" ,
76
76
112
112
"twilio==7.9.1" ,
113
113
"aiosmtplib==1.1.6" ,
114
114
"pkce==1.0.3" ,
115
+ "nest-asyncio==1.5.1" ,
115
116
],
116
117
python_requires = ">=3.7" ,
117
118
include_package_data = True ,
Original file line number Diff line number Diff line change 12
12
# License for the specific language governing permissions and limitations
13
13
# under the License.
14
14
15
+ import nest_asyncio # type: ignore
15
16
import asyncio
16
17
from typing import Any , Coroutine , TypeVar
17
18
@@ -24,6 +25,7 @@ def check_event_loop():
24
25
except RuntimeError as ex :
25
26
if "There is no current event loop in thread" in str (ex ):
26
27
loop = asyncio .new_event_loop ()
28
+ nest_asyncio .apply (loop ) # type: ignore
27
29
asyncio .set_event_loop (loop )
28
30
29
31
You can’t perform that action at this time.
0 commit comments