1. Brian Beck
  2. Telescope

Source

Telescope / lib / telescope / mapper / session.py

1
2
3
4
5
6
7
8
9
from telescope.mapper.query import Query

class Session(object):
    def __init__(self, graph=None):
        self.identity_map = {}
        self.graph = graph
    
    def query(self, class_):
        return Query(class_, self)