def get_project(self, project_id):
        params = {'token': self.token,
                  'project_id': project_id}
        data = self._get('get_project', params=params)
        obj = data.get('project', None)
        if obj and 'error' not in obj:
            self._update_state({'Projects': [obj]})
            return [o for o in self.state['Projects']
                    if o['id'] == obj['id']][0]
        return None
Get the instances of a node group.
dataset/ETHPy150Open Doist/todoist-python/todoist/api.py/TodoistAPI.get_project--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/config/__init__.py/ConfigWriter.GetNodeGroupInstances