LSEG Data Library for Python

get_data_async

Sends an asynchronous request to the Delivery Platform (formerly Refinitiv Data Platform) to retrieve the data specified in the news.online_reports.hierarchy.Definition object.

Module

data.content.news.online_reports.hierarchy

Syntax

get_data_async(session, on_response, closure)

Parameters

Value Description Data type Optional Default value
session Session object. If session parameters are not defined, the default session will be used. Session object Yes None
on_response User-defined callback function to process the response. Callable Yes None
closure Closure parameters that will be returned with the response. Any Yes None

Returned value

value

Usage

Similar to get_data()

None

76 words (0:24 mins)