srht.FlagType: set cache_ok

Squelches a new warning from SQLAlchemy.
This commit is contained in:
Drew DeVault 2021-07-26 11:15:50 +02:00
parent 176c415ac9
commit e897a357e5
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ class FlagType(types.TypeDecorator):
"""
impl = types.Integer()
cache_ok = True
def __init__(self, enum):
self.enum = enum