diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-06-08 15:55:08 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-06-08 15:55:08 -0400 |
| commit | 27f7c595d216c8b1d87e5a3648ada09f684542d9 (patch) | |
| tree | de07aa5ef8c3c012a322ab076897a62a07e11fe4 /lib/sqlalchemy/orm/mapper.py | |
| parent | 97e97324d67056972b1f959ce41d0be441cec992 (diff) | |
| download | sqlalchemy-27f7c595d216c8b1d87e5a3648ada09f684542d9.tar.gz | |
Add some `Sphinx` paragraph level versions informations markups,
such as ``.. versionadded::``, ``.. versionchanged::`` and ``.. deprecated::``.
Diffstat (limited to 'lib/sqlalchemy/orm/mapper.py')
| -rw-r--r-- | lib/sqlalchemy/orm/mapper.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/mapper.py b/lib/sqlalchemy/orm/mapper.py index 795447763..2ec30f0ba 100644 --- a/lib/sqlalchemy/orm/mapper.py +++ b/lib/sqlalchemy/orm/mapper.py @@ -2336,7 +2336,9 @@ def validates(*names, **kw): :param \*names: list of attribute names to be validated. :param include_removes: if True, "remove" events will be sent as well - the validation function must accept an additional - argument "is_remove" which will be a boolean. New in 0.7.7. + argument "is_remove" which will be a boolean. + + .. versionadded:: 0.7.7 """ include_removes = kw.pop('include_removes', False) |
