from __future__ import print_function
import time
import grafeas
from grafeas.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = grafeas.GrafeasProjectsApi()
#body = grafeas.ApiProject() # ApiProject | The project to create.
body = "demo"
try:
# Creates a new project.
api_response = api_instance.create_project(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling GrafeasProjectsApi->create_project: %s\n" % e)