def __init__(self, entities, session=None):
    self.session = session
    self._polymorphic_adapters = {}
    self._set_entities(entities)
def __init__(self, entities, session=None):
    self.session = session
    self._polymorphic_adapters = {}
    self._set_entities(entities)