code: def list_flavors(self, retrieve_all=True, **_params):
          
          return self.list('flavors', self.flavors_path, retrieve_all,
                           **_params)
docs: Fetches a list of all Neutron service flavors for a project.