(project_tuples)
return projects
Convert list of projects tuples to list of Eve Project objects

        :param project_tuples: list of tuples, project data: [(id, name, houdini_build, width, height, description)]
        :return:
Convert list of projects tuples to list of Eve Project objects
Convert list of projects tuples to list of Eve Project objects
def convert_to_project(project_tuples):
        """
        Convert list of projects tuples to list of Eve Project objects

        :param project_tuples: list of tuples, project data: [(id, name, houdini_build, width, height, description)]
        :return:
        """

        projects = []
        for project_tuple in project_tuples:
            project = Project(project_tuple[1])
            project.id = project_tuple[0]
            project.houdini_build = project_tuple[2]
            project.width = project_tuple[3]
            project.height = project_tuple[4]
            project.description = project_tuple[5]
            projects.append(project)

        return projects
def convert_to_project ( project_tuples ) : projects = [ ] for project_tuple in project_tuples : project = Project ( project_tuple [ 1 ] ) project . id = project_tuple [ 0 ] project . houdini_build = project_tuple [ 2 ] project . width = project_tuple [ 3 ] project . height = project_tuple [ 4 ] project . description = project_tuple [ 5 ] projects . append ( project ) return projects