Refinitiv Data Library for Python

get_session

Creates and returns the session defined by the session.platform.Definition object.

Module

refinitiv.data.session.platform

Syntax

get_session()

Parameters

None.

Returned value

The platform session instance.

Usage

The following example demonstrates how to get the platform session named “custom-session” and defined in the configuration file of the library.

import refinitiv.data as rd

platform_session = rd.session.platform.Definition(name="platform-custom-session").get_session()

None