blpapi.test.serializeService

blpapi.test.serializeService(service)

Serialize the provided service in XML format.

Parameters

service (Service) – The blpapi.Service to be serialized.

Returns

The service represented as an XML formatted str.

Return type

str

Raises

Exception – If the service can’t be serialized successfully.