Beispiel #1
0
 def get_or_create_project(project_id):
     project = Projects.get_projects_by_id(project_id)
     if project is None:
         return Database.create_project(project_id)
     else:
         return project
Beispiel #2
0
 def get_project(project_id):
     return Projects.get_projects_by_id(project_id)