From: Muhammad Abdur Rakib <103581704+rifatrakib@users.noreply.github.com> Date: Fri, 14 Oct 2022 17:53:49 +0000 (+0600) Subject: fix instances of objects as instances of classes (#8627) X-Git-Tag: rel_2_0_0b2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe89ffe7563192a0b8f83b045f6e35fbed2a4a19;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix instances of objects as instances of classes (#8627) document mentions `creating instances of "User" and "Address" objects` which is a mistake as we create instances or objects from classes. --- diff --git a/doc/build/orm/quickstart.rst b/doc/build/orm/quickstart.rst index 039bf3d703..5528ce631e 100644 --- a/doc/build/orm/quickstart.rst +++ b/doc/build/orm/quickstart.rst @@ -181,7 +181,7 @@ Create Objects and Persist --------------------------- We are now ready to insert data in the database. We accomplish this by -creating instances of ``User`` and ``Address`` objects, which have +creating instances of ``User`` and ``Address`` classes, which have an ``__init__()`` method already as established automatically by the declarative mapping process. We then pass them to the database using an object called a :ref:`Session `,