blpapi.SubscriptionPreprocessMode
- class blpapi.SubscriptionPreprocessMode
The modes that can be used for the
Session.subscribe()andSession.resubscribe()operations.- FAIL_ON_FIRST_ERROR = 1
In this mode, an exception is raised on the first invalid entry in the
SubscriptionList, and the entire batch will be considered failed. Otherwise, all the subscriptions will move forward and the method returnsNone.
- RETURN_INDIVIDUAL_ERRORS = 2
In this mode, instead of raising exceptions, a list of
SubscriptionPreprocessErroris returned, each representing an error due to an invalid subscription in theSubscriptionList. The valid subscriptions will move forward.