Skip to content

Commit dcbf2da

Browse files
authored
replace 'platform' with 'rdp'
1 parent 51e6daf commit dcbf2da

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Configuration/credentials.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"\n",
5656
"Set your default session_type below with **SESSION_TYPE** variable below - valid values are:\n",
5757
"- \"**desktop**\"\n",
58-
"- \"**platform**\"\n",
58+
"- \"**rdp**\"\n",
5959
"- \"**deployed**\" \n",
6060
"\n",
6161
"This will avoid the need to specif it in all the tutorials.\n",
@@ -76,7 +76,7 @@
7676
"outputs": [],
7777
"source": [
7878
"# Set your Default session type here\n",
79-
"SESSION_TYPE = 'platform'\n",
79+
"SESSION_TYPE = 'rdp'\n",
8080
"\n",
8181
"import refinitiv.data as rd\n",
8282
"from refinitiv.data._data.legacy import get_default_session, set_default_session\n",
@@ -88,7 +88,7 @@
8888
" if session is None:\n",
8989
" if session_type == \"desktop\":\n",
9090
" session = rd.session.desktop.Definition(APP_KEY).get_session()\n",
91-
" elif session_type == \"platform\":\n",
91+
" elif session_type == \"rdp\":\n",
9292
" session = rd.session.platform.Definition(\n",
9393
" app_key=APP_KEY,\n",
9494
" grant=rd.session.platform.GrantPassword(\n",
@@ -104,7 +104,7 @@
104104
" ).get_session()\n",
105105
"\n",
106106
" if session is None:\n",
107-
" raise Exception(f\"Wrong session_type: {session_type}. It must be ['desktop', 'platform', 'deployed']\")\n",
107+
" raise Exception(f\"Wrong session_type: {session_type}. It must be ['desktop', 'rdp', 'deployed']\")\n",
108108
" else:\n",
109109
" set_default_session(session)\n",
110110
" #session.set_log_level(logging.DEBUG)\n",

0 commit comments

Comments
 (0)