blpapi.test.deserializeService
- blpapi.test.deserializeService(serviceXMLStr)
Create a
blpapi.Service
instance from the specifiedserviceXMLStr
.- Parameters:
serviceXMLStr (
str
) – Astr
representation of ablpapi.Service
inXML
format. Thestr
should only contain ASCII characters without any embeddednull
characters.- Return type:
- Returns:
A
blpapi.Service
created fromserviceXMLStr
.- Raises:
Exception – If deserialization fails.