MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / append

Method append

lib/sqlalchemy/ext/orderinglist.py:357–359  ·  view source on GitHub ↗
(self, entity: _T)

Source from the content-addressed store, hash-verified

355 self._set_order_value(entity, should_be)
356
357 def append(self, entity: _T) -> None:
358 super().append(entity)
359 self._order_entity(len(self) - 1, entity, self.reorder_on_append)
360
361 def _raw_append(self, entity: _T) -> None:
362 """Append without any ordering behavior."""

Callers 2

test_picklabilityMethod · 0.95
_raw_appendMethod · 0.45

Calls 1

_order_entityMethod · 0.95

Tested by 1

test_picklabilityMethod · 0.76