From 8a6d41d5f540c5de3a73279cd729a8b197083bbf Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 20 May 2023 11:53:44 -0400 Subject: [PATCH] use python highlight for model example in large collections apparently the pycon+sql highlight doesn't work with class definitions for some reason? seems like something to be aware of... Fixes: #9810 Change-Id: I5cfca5e0fb9d797ff4068526d05e181b4ff71ebf --- doc/build/orm/large_collections.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/build/orm/large_collections.rst b/doc/build/orm/large_collections.rst index ef1e651e1f..a081466e7e 100644 --- a/doc/build/orm/large_collections.rst +++ b/doc/build/orm/large_collections.rst @@ -34,7 +34,9 @@ Write Only Relationships The **write only** loader strategy is the primary means of configuring a :func:`_orm.relationship` that will remain writeable, but will not load its contents into memory. A write-only ORM configuration in modern -type-annotated Declarative form is illustrated below:: +type-annotated Declarative form is illustrated below: + +.. sourcecode:: python >>> from decimal import Decimal >>> from datetime import datetime -- 2.47.3