summaryrefslogtreecommitdiff
path: root/examples/dynamic_dict
Commit message (Collapse)AuthorAgeFilesLines
* Post black reformattingMike Bayer2019-01-061-4/+10
| | | | | | | | | | | | | Applied on top of a pure run of black -l 79 in I7eda77fed3d8e73df84b3651fd6cfcfe858d4dc9, this set of changes resolves all remaining flake8 conditions for those codes we have enabled in setup.cfg. Included are resolutions for all remaining flake8 issues including shadowed builtins, long lines, import order, unused imports, duplicate imports, and docstring issues. Change-Id: I4f72d3ba1380dd601610ff80b8fb06a2aff8b0fe
* Run black -l 79 against all source filesMike Bayer2019-01-062-16/+20
| | | | | | | | | | | | | | 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
* - add a new sphinx extension "viewsource". takes advantage of part of the ↵Mike Bayer2013-11-091-0/+2
| | | | | | | | | viewcode extension to allow ad-hoc display of the source of any file, as well as a "directory listing" structure. - reorganize examples/ to take advantage of new extension. in particular, keep moving all the descriptive text for files etc. into module docstrings, taking more advantage of self-documentation.
* - the raw 2to3 runMike Bayer2013-04-271-88/+88
| | | | - went through examples/ and cleaned out excess list() calls
* modernize some more examplesMike Bayer2013-04-271-2/+3
|
* whack more long lines in very old docstringsMike Bayer2013-02-021-3/+4
|
* -whitespace bonanza, contdMike Bayer2012-07-281-1/+1
|
* - whitespace removal bonanzaMike Bayer2011-01-021-6/+6
|
* - The official name for the relation() function is nowMike Bayer2010-03-171-2/+2
| | | | | | 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-192-9/+5
| | | | | | - 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
* some cleanupMike Bayer2010-01-181-20/+33
|
* Added in Examples into the test suite so they get exercised regularly. ↵Michael Trier2009-07-271-0/+0
| | | | Cleaned up some deprecation warnings in the examples.
* Lots of fixes to the code examples to specify imports explicitly.Michael Trier2009-03-311-2/+2
| | | | | | | 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.
* r4695 merged to trunk; trunk now becomes 0.5.Mike Bayer2008-05-091-7/+7
| | | | 0.4 development continues at /sqlalchemy/branches/rel_0_4
* - added an example dynamic_dict/dynamic_dict.py, illustratingMike Bayer2008-05-071-0/+83
a simple way to place dictionary behavior on top of a dynamic_loader.