<s> from nagare . services import plugins <EOL> class CardExtensions ( plugins . Plugins ) : <EOL> ENTRY_POINTS = '<STR_LIT>' <EOL> CONFIG_SECTION = '<STR_LIT>' <EOL> CONFIGURATORS = { } <EOL> def set_configurators ( self , configurators ) : <EOL> """<STR_LIT>""" <EOL> repository = self . copy ( ) <EOL> repository . CONFIGURATORS = configurators <EOL> return repository <EOL> def instantiate_items ( self , card , action_log , services_service ) : <EOL> """<STR_LIT>""" <EOL> return [ <EOL> ( name , services_service ( klass , card , action_log , self . CONFIGURATORS . get ( name ) ) ) <EOL> for name , klass in self . items ( ) <EOL> ] </s>
