code: def createVertex(self, collectionName, docAttributes, waitForSync = False) :
          
          url = "%s/vertex/%s" % (self.URL, collectionName)
  
          store = DOC.DocumentStore(self.database[collectionName], validators=self.database[collectionName]._fields, initDct=docAttributes)
          # self.database[collectionName].validateDct(docAttributes)
          store.validate()
  
          r = self.connection.session.post(url, data = json.dumps(docAttributes, default=str), params = {'waitForSync' : waitForSync})
  
          data = r.json()
          if r.status_code == 201 or r.status_code == 202 :
              return self.database[collectionName][data["vertex"]["_key"]]
  
          raise CreationError("Unable to create vertice, %s" % data["errorMessage"], data)
docs: adds a vertex to the graph and returns it