]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
The ``default`` argument of :class:`.Column` now accepts a class
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 11 Oct 2013 20:16:08 +0000 (16:16 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 11 Oct 2013 20:16:08 +0000 (16:16 -0400)
commit1f1ad557afa4919245c2cb9972099c1504a30a37
tree74fac80835116d55f9e36b7de3e49d6369571308
parent9d38ed33400adf3ba8fdf3af49f26de1270bbe23
The ``default`` argument of :class:`.Column` now accepts a class
or object method as an argument, in addition to a standalone function;
will properly detect if the "context" argument is accepted or not.
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/sql/schema.py
test/sql/test_defaults.py