Refinitiv Data Library for Python

get_session

This method creates and returns the session defined by the session.Definition object.

Module

refinitiv.data.session

Syntax

session.get_session()

Parameters

None.

Return value

The instance of the defined session.

Usage

The following example demonstrates how to define a session by name and get the related session instance.

import refinitiv.data as rd

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

None