def create_project():
    try:
        project = Project()
        project.projectID = "def1234"
        project.owner = "default-admin"
        project.gatewayId = "default"
        project.name = "defaultProject"

        pro = client.create_project(token, "default", project)
        print("Project created ", pro)

    except (InvalidRequestException, AiravataClientException,
            AuthorizationException, AiravataSystemException):
        logger.exception("Error occurred")
 def create(self, validated_data):
     return Project(**validated_data)