MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / insert

Function insert

lib/sqlalchemy/orm/collections.py:1154–1160  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

1152 return remove
1153
1154 def insert(fn):
1155 def insert(self, index, value):
1156 value = __set(self, value, None, index)
1157 fn(self, index, value)
1158
1159 _tidy(insert)
1160 return insert
1161
1162 def __setitem__(fn):
1163 def __setitem__(self, index, value):

Calls 2

__setFunction · 0.85
_tidyFunction · 0.85