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