diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-07-03 13:15:03 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-07-03 13:15:03 -0400 |
commit | 37ec812056e039027e95f0cf7f2588eb305f2bf7 (patch) | |
tree | c77e94617e90a8ebeb3cb6b8b4cd1c6325943efa | |
parent | 0e43247da4cfd2d829ee4b350e336364cb8a7ec1 (diff) | |
download | alembic-37ec812056e039027e95f0cf7f2588eb305f2bf7.tar.gz |
- add the .info dictionary, references #302
-rw-r--r-- | alembic/operations/ops.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/alembic/operations/ops.py b/alembic/operations/ops.py index 1a38d07..2cdf7ad 100644 --- a/alembic/operations/ops.py +++ b/alembic/operations/ops.py @@ -22,6 +22,14 @@ class MigrateOperation(object): """ + @util.memoized_property + def info(self): + """A dictionary that may be used to store arbitrary information + along with this :class:`.MigrateOperation` object. + + """ + return {} + class AddConstraintOp(MigrateOperation): """Represent an add constraint operation.""" |