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
I've found that this becomes problematic when the Snowpark session is in the Streamlit session_state when developing locally. I got around this with the following:
I've found that this becomes problematic when the Snowpark session is in the Streamlit session_state when developing locally. I got around this with the following:
def running_in_sis() -> bool:
try:
sess = get_active_session()
if 'appRoot' in os.getcwd():
return True
else:
return False
except SnowparkSessionException:
return False
The text was updated successfully, but these errors were encountered: