code: def add_project(self, project_id=None, name=None, **kwargs):
          
          if project_id not in self._projects:
  
              for project in self._projects.values():
                  if name and project.name == name:
                      raise aiohttp.web.HTTPConflict(text='Project name "{}" already exists'.format(name))
              project = Project(project_id=project_id, controller=self, name=name, **kwargs)
              self._projects[project.id] = project
              return self._projects[project.id]
          return self._projects[project_id]
docs: Creates a project or returns an existing project
  
          :param project_id: Project ID
          :param name: Project name
          :param kwargs: See the documentation of Project