summaryrefslogtreecommitdiff
path: root/examples/vertical/dictlike.py
Commit message (Collapse)AuthorAgeFilesLines
* Run black -l 79 against all source filesMike Bayer2019-01-061-45/+55
| | | | | | | | | | | | | | This is a straight reformat run using black as is, with no edits applied at all. The black run will format code consistently, however in some cases that are prevalent in SQLAlchemy code it produces too-long lines. The too-long lines will be resolved in the following commit that will resolve all remaining flake8 issues including shadowed builtins, long lines, import order, unused imports, duplicate imports, and docstring issues. Change-Id: I7eda77fed3d8e73df84b3651fd6cfcfe858d4dc9
* simplify thisMike Bayer2013-11-301-20/+2
|
* - start reworking examples to include more code from the wiki.Mike Bayer2013-11-291-127/+64
| | | | | - add the other versioning examples from the wiki - modernize the dictlike examples
* - the raw 2to3 runMike Bayer2013-04-271-29/+29
| | | | - went through examples/ and cleaned out excess list() calls
* modernize some more examplesMike Bayer2013-04-271-8/+6
|
* - remove remaining create_session() calls from examples, replace with SessionMike Bayer2010-10-241-6/+5
| | | | - replace all flush()/expunge_all() with commit()
* - The official name for the relation() function is nowMike Bayer2010-03-171-5/+5
| | | | | | relationship(), to eliminate confusion over the relational algebra term. relation() however will remain available in equal capacity for the foreseeable future. [ticket:1740]
* - mega example cleanupMike Bayer2010-01-191-0/+1
| | | | | | - added READMEs to all examples in each __init__.py and added to sphinx documentation - added versioning example - removed vertical/vertical.py, the dictlikes are more straightforward
* Lots of fixes to the code examples to specify imports explicitly.Michael Trier2009-03-311-6/+7
| | | | | | | 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.
* - Added two new vertical dict mapping examples.Jason Kirtland2008-02-121-0/+247