From d80ee72aaa4b7f8a23e1bd55515b8446a951a5f0 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 30 Nov 2013 17:31:00 -0500 Subject: - the pronoun removal commit. there was only one instance of a standalone gendered pronoun with a gender-neutral subject, but also have replaced all occurences of "his/her", "his or her", etc. The docs have always strived to account for both genders in any non-specific singular pronoun, however recent controversy in the community suggests that a zero-gendered-pronoun policy is probably best going forward. --- examples/dogpile_caching/advanced.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/dogpile_caching/advanced.py') diff --git a/examples/dogpile_caching/advanced.py b/examples/dogpile_caching/advanced.py index f1a18a4d7..896e395bf 100644 --- a/examples/dogpile_caching/advanced.py +++ b/examples/dogpile_caching/advanced.py @@ -23,7 +23,7 @@ def load_name_range(start, end, invalidate=False): The `Person.addresses` collections are also cached. Its basically another level of tuning here, as that particular cache option can be transparently replaced with joinedload(Person.addresses). - The effect is that each Person and his/her Address collection + The effect is that each Person and their Address collection is cached either together or separately, affecting the kind of SQL that emits for unloaded Person objects as well as the distribution of data within the cache. -- cgit v1.2.1 From 5517c0eef9a1c4228d976584d7d65586b29b2ce9 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 7 Dec 2013 17:33:13 -0500 Subject: - remove verbiage about "namespaces" from the dogpile example, [ticket:2862] - fix broken py2k/py3k isms --- examples/dogpile_caching/advanced.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'examples/dogpile_caching/advanced.py') diff --git a/examples/dogpile_caching/advanced.py b/examples/dogpile_caching/advanced.py index 896e395bf..feccaa3ba 100644 --- a/examples/dogpile_caching/advanced.py +++ b/examples/dogpile_caching/advanced.py @@ -1,15 +1,13 @@ """advanced.py Illustrate usage of Query combined with the FromCache option, -including front-end loading, cache invalidation, namespace techniques -and collection caching. +including front-end loading, cache invalidation and collection caching. """ from .environment import Session -from .model import Person, Address, cache_address_bits +from .model import Person, cache_address_bits from .caching_query import FromCache, RelationshipCache -from sqlalchemy.orm import joinedload def load_name_range(start, end, invalidate=False): """Load Person objects on a range of names. -- cgit v1.2.1