Ejemplo n.º 1
0
 def setUp(self):
     self.client = FullClient(apiKey=conf.API_KEY,
                              apiServer=conf.BASE_PATH,
                              retinaName=conf.RETINA_NAME)
     self.jsonBulkExpression = None
     # path relative to current working dir
     with open(bulkInput, "r") as f:
         self.jsonBulkExpression = "".join(f.readlines())
Ejemplo n.º 2
0
 def setUp(self):
     self.client = FullClient(apiKey=conf.API_KEY,
                              apiServer=conf.BASE_PATH,
                              retinaName=conf.RETINA_NAME)
Ejemplo n.º 3
0
 def __init__(self, apiKey):
     self._fullClient = FullClient(apiKey,
                                   apiServer="http://api.cortical.io/rest",
                                   retinaName="en_associative")