From 794e12b207b780763d191a9517023987f29f3771 Mon Sep 17 00:00:00 2001 From: Henrique Joaquim Date: Wed, 1 Mar 2023 16:51:04 +0000 Subject: [PATCH] initialize session (#4360) --- openbb_terminal/session/sdk_session.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openbb_terminal/session/sdk_session.py b/openbb_terminal/session/sdk_session.py index 13084c3fd9a3..e5aa53657786 100644 --- a/openbb_terminal/session/sdk_session.py +++ b/openbb_terminal/session/sdk_session.py @@ -55,6 +55,7 @@ def login( >>> from openbb_terminal.sdk import openbb >>> openbb.login(email="your_email", password="your_password") """ + session = {} if not (email or token): session = Local.get_session()