You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: concurency/io_threading.py
+9-3
Original file line number
Diff line number
Diff line change
@@ -8,19 +8,25 @@
8
8
thread_local=threading.local()
9
9
10
10
defget_session():
11
+
'''
12
+
So each thread will create a single session the first time it calls get_session() and then will simply use that session on each subsequent call throughout its lifetime.
0 commit comments