Spaces:
Build error
Build error
removed s.enque
Browse files- app/SessionState.py +0 -7
app/SessionState.py
CHANGED
|
@@ -76,13 +76,6 @@ def get(**kwargs):
|
|
| 76 |
for session_info in session_infos:
|
| 77 |
s = session_info.session
|
| 78 |
if (
|
| 79 |
-
# Streamlit < 0.54.0
|
| 80 |
-
(hasattr(s, '_main_dg') and s._main_dg == ctx.main_dg)
|
| 81 |
-
or
|
| 82 |
-
# Streamlit >= 0.54.0
|
| 83 |
-
(not hasattr(s, '_main_dg') and s.enqueue == ctx.enqueue)
|
| 84 |
-
or
|
| 85 |
-
# Streamlit >= 0.65.2
|
| 86 |
(not hasattr(s, '_main_dg') and s._uploaded_file_mgr == ctx.uploaded_file_mgr)
|
| 87 |
):
|
| 88 |
this_session = s
|
|
|
|
| 76 |
for session_info in session_infos:
|
| 77 |
s = session_info.session
|
| 78 |
if (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
(not hasattr(s, '_main_dg') and s._uploaded_file_mgr == ctx.uploaded_file_mgr)
|
| 80 |
):
|
| 81 |
this_session = s
|