<s> def has_exactly ( k , T , l ) : <EOL> """<STR_LIT>""" <EOL> return sum ( <NUM_LIT:1> for x in l if isinstance ( x , T ) ) == k <EOL> def clear_registry ( ) : <EOL> from giblets . core import ComponentMeta <EOL> ComponentMeta . _registry = { } <EOL> ComponentMeta . _components = [ ] </s>
