class documentation

class IdentityMap(object):

Known subclasses: sqlalchemy.orm.identity.WeakInstanceDict

View In Hierarchy

Undocumented

Method __delitem__ Undocumented
Method __init__ Undocumented
Method __len__ Undocumented
Method __setitem__ Undocumented
Method ​_add​_unpresent optional inlined form of add() which can assume item isn't present in the map
Method ​_dirty​_states Undocumented
Method ​_kill Undocumented
Method ​_manage​_incoming​_state Undocumented
Method ​_manage​_removed​_state Undocumented
Method add Undocumented
Method check​_modified return True if any InstanceStates present have been marked as 'modified'.
Method clear Undocumented
Method copy Undocumented
Method has​_key Undocumented
Method keys Undocumented
Method pop Undocumented
Method popitem Undocumented
Method replace Undocumented
Method setdefault Undocumented
Method update Undocumented
Instance Variable ​_dict Undocumented
Instance Variable ​_modified Undocumented
Instance Variable ​_wr Undocumented
def __delitem__(self, key):

Undocumented

def __init__(self):

Undocumented

def __len__(self):

Undocumented

def __setitem__(self, key, value):

Undocumented

def _add_unpresent(self, state, key):
optional inlined form of add() which can assume item isn't present in the map
def _dirty_states(self):

Undocumented

def _kill(self):

Undocumented

def _manage_incoming_state(self, state):

Undocumented

def _manage_removed_state(self, state):

Undocumented

def add(self, state):

Undocumented

def check_modified(self):
return True if any InstanceStates present have been marked as 'modified'.
def clear(self):

Undocumented

def copy(self):

Undocumented

def has_key(self, key):

Undocumented

def keys(self):

Undocumented

def pop(self, key, *args):

Undocumented

def popitem(self):

Undocumented

def replace(self, state):

Undocumented

def setdefault(self, key, default=None):

Undocumented

def update(self, dict_):

Undocumented

_dict: dict =

Undocumented

_modified: set =

Undocumented

_wr =

Undocumented