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_1_4_42~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d45f5eb750e73a1e77175041f2c5751e93b3c57;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. (cherry picked from commit fe89ffe7563192a0b8f83b045f6e35fbed2a4a19) --- diff --git a/doc/build/orm/quickstart.rst b/doc/build/orm/quickstart.rst index f1240e7bd8..d766ef1d77 100644 --- a/doc/build/orm/quickstart.rst +++ b/doc/build/orm/quickstart.rst @@ -163,7 +163,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 `,