blpapi.test.serializeService

blpapi.test.serializeService(service)

Serialize the provided service in XML format.

Parameters:

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

Return type:

str

Returns:

The service represented as an XML formatted str.

Raises:

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