From: Mike Bayer Date: Fri, 3 Jul 2015 17:15:03 +0000 (-0400) Subject: - add the .info dictionary, references #302 X-Git-Tag: rel_0_8_0~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37ec812056e039027e95f0cf7f2588eb305f2bf7;p=thirdparty%2Fsqlalchemy%2Falembic.git - add the .info dictionary, references #302 --- diff --git a/alembic/operations/ops.py b/alembic/operations/ops.py index 1a38d074..2cdf7adb 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."""