--- /dev/null
+.. change::
+ :tags: bug, regression, orm
+ :tickets: 6144
+
+ Fixed missing method :meth:`_orm.Session.get` from the
+ :class:`_orm.ScopedSession` interface.
+
sess.add("add")
sess.delete("delete")
+ sess.get("Cls", 5)
+
eq_(sess.bind, "the bind")
eq_(
mock_session.mock_calls,
- [mock.call.add("add", True), mock.call.delete("delete")],
+ [
+ mock.call.add("add", True),
+ mock.call.delete("delete"),
+ mock.call.get(
+ "Cls", 5, mock.ANY, mock.ANY, mock.ANY, mock.ANY
+ ),
+ ],
)
with mock.patch(