def __init__(self, session):
     self.session = session
     self.graph = DseGraph.traversal_source(
         session=self.session,
         graph_name='killrvideo_video_recommendations')
     logging.debug('Graph traversal source: ' + str(self.graph) + ' verts' +
                   str(self.graph.V()))
     self.suggested_videos_consumer = SuggestedVideosConsumer(self)
Exemple #2
0
 def __init__(self, session):
     self.session = session
     self.graph = DseGraph.traversal_source(session=self.session, graph_name='killrvideo_video_recommendations')
     self.suggested_videos_consumer = SuggestedVideosConsumer(self)