blpapi.test.deserializeService

blpapi.test.deserializeService(serviceXMLStr)

Create a blpapi.Service instance from the specified serviceXMLStr.

Parameters:

serviceXMLStr (str) – A str representation of a blpapi.Service in XML format. The str should only contain ASCII characters without any embedded null characters.

Return type:

Service

Returns:

A blpapi.Service created from serviceXMLStr.

Raises:

Exception – If deserialization fails.