]> git.ipfire.org Git - thirdparty/psycopg.git/commit
docs: improve organization of adaptation objects docs
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 8 Jan 2025 12:08:51 +0000 (13:08 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 8 Jan 2025 12:11:21 +0000 (13:11 +0100)
commit7cb5e8a4c980b9b8e4c7ac6b3541b437137bffca
treedf05d5c99471250284a2cde08595f2cca6131428
parent5cb56350c18c5b74fb6463bbebd43142c1165f68
docs: improve organization of adaptation objects docs

Move the life cycle section above the examples, closer to the
configuration top section; explain better how `format` affects the
loader used, highlight better the connection between the protocols
defined in the `abc` module and the abstract base classes in the `adapt`
module.

The meaning of `Loader.format` wasn't explained anywhere: see #990.
docs/advanced/adapt.rst
docs/api/abc.rst