<s> from cloudservers import base <EOL> class Flavor ( base . Resource ) : <EOL> """<STR_LIT>""" <EOL> def __repr__ ( self ) : <EOL> return "<STR_LIT>" % self . name <EOL> class FlavorManager ( base . ManagerWithFind ) : <EOL> """<STR_LIT>""" <EOL> resource_class = Flavor <EOL> def list ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _list ( "<STR_LIT>" , "<STR_LIT>" ) <EOL> def get ( self , flavor ) : <EOL> """<STR_LIT>""" <EOL> return self . _get ( "<STR_LIT>" % base . getid ( flavor ) , "<STR_LIT>" ) </s>
