]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Lots of fixes to the code examples to specify imports explicitly.
authorMichael Trier <mtrier@gmail.com>
Tue, 31 Mar 2009 22:31:08 +0000 (22:31 +0000)
committerMichael Trier <mtrier@gmail.com>
Tue, 31 Mar 2009 22:31:08 +0000 (22:31 +0000)
commit6010afb28f95c7050ca48ddd2e6f65ca6cbae5a1
tree46259c03c209a89702c32c939c8ea035edee9425
parent832ea82fefa366f4717e889511f66ecfce3313de
Lots of fixes to the code examples to specify imports explicitly.

Explicit imports make it easier for users to understand the examples.
Additionally a lot of the examples were fixed to work with the changes in the
0.5.x code base. One small correction to the Case expression.  Thanks a bunch
to Adam Lowry! Fixes #717.
25 files changed:
examples/association/basic_association.py
examples/association/proxied_association.py
examples/collections/large_collection.py
examples/custom_attributes/custom_management.py
examples/custom_attributes/listen_for_events.py
examples/derived_attributes/attributes.py
examples/dynamic_dict/dynamic_dict.py
examples/elementtree/adjacency_list.py
examples/elementtree/optimized_al.py
examples/elementtree/pickle.py
examples/graphs/graph1.py
examples/nested_sets/nested_sets.py
examples/pickle/custom_pickler.py
examples/poly_assoc/poly_assoc.py
examples/poly_assoc/poly_assoc_fk.py
examples/poly_assoc/poly_assoc_generic.py
examples/polymorph/concrete.py
examples/polymorph/polymorph.py
examples/polymorph/single.py
examples/postgis/postgis.py
examples/sharding/attribute_shard.py
examples/vertical/dictlike-polymorphic.py
examples/vertical/dictlike.py
examples/vertical/vertical.py
lib/sqlalchemy/sql/expression.py