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.

Returns

A blpapi.Service created from serviceXMLStr.

Return type

blpapi.Service

Raises

Exception – If deserialization fails.