def subscribe(self, event, bet_ids):
if not self._subscriptions.get(event):<EOL><INDENT>self._subscriptions[event] = set()<EOL><DEDENT>self._subscriptions[event] = self._subscriptions[event].union(bet_ids)<EOL>
Subscribe to event for given bet ids.