<s> from . core import ( <EOL> TS_FIELD_NAME , <EOL> SID_FIELD_NAME , <EOL> ) <EOL> from zipline . pipeline . common import ( <EOL> BUYBACK_ANNOUNCEMENT_FIELD_NAME , <EOL> CASH_FIELD_NAME , <EOL> SHARE_COUNT_FIELD_NAME <EOL> ) <EOL> from zipline . pipeline . data import ( <EOL> CashBuybackAuthorizations , <EOL> ShareBuybackAuthorizations <EOL> ) <EOL> from zipline . pipeline . loaders import ( <EOL> CashBuybackAuthorizationsLoader , <EOL> ShareBuybackAuthorizationsLoader , <EOL> ) <EOL> from . events import BlazeEventsLoader <EOL> class BlazeCashBuybackAuthorizationsLoader ( BlazeEventsLoader ) : <EOL> """<STR_LIT>""" <EOL> __doc__ = __doc__ . format ( <EOL> TS_FIELD_NAME = TS_FIELD_NAME , <EOL> SID_FIELD_NAME = SID_FIELD_NAME , <EOL> BUYBACK_ANNOUNCEMENT_FIELD_NAME = BUYBACK_ANNOUNCEMENT_FIELD_NAME , <EOL> CASH_FIELD_NAME = CASH_FIELD_NAME <EOL> ) <EOL> _expected_fields = frozenset ( { <EOL> TS_FIELD_NAME , <EOL> SID_FIELD_NAME , <EOL> BUYBACK_ANNOUNCEMENT_FIELD_NAME , <EOL> CASH_FIELD_NAME <EOL> } ) <EOL> concrete_loader = CashBuybackAuthorizationsLoader <EOL> default_dataset = CashBuybackAuthorizations <EOL> class BlazeShareBuybackAuthorizationsLoader ( BlazeEventsLoader ) : <EOL> """<STR_LIT>""" <EOL> __doc__ = __doc__ . format ( <EOL> TS_FIELD_NAME = TS_FIELD_NAME , <EOL> SID_FIELD_NAME = SID_FIELD_NAME , <EOL> BUYBACK_ANNOUNCEMENT_FIELD_NAME = BUYBACK_ANNOUNCEMENT_FIELD_NAME , <EOL> SHARE_COUNT_FIELD_NAME = SHARE_COUNT_FIELD_NAME , <EOL> ) <EOL> _expected_fields = frozenset ( { <EOL> TS_FIELD_NAME , <EOL> SID_FIELD_NAME , <EOL> BUYBACK_ANNOUNCEMENT_FIELD_NAME , <EOL> SHARE_COUNT_FIELD_NAME , <EOL> } ) <EOL> concrete_loader = ShareBuybackAuthorizationsLoader <EOL> default_dataset = ShareBuybackAuthorizations </s>
