From 4a0a3de793ee82a24410ac34159b8a73b083d946 Mon Sep 17 00:00:00 2001 From: Dinika Saxena Date: Mon, 19 Feb 2018 15:54:05 +0100 Subject: [PATCH] import EncryptedType correctly from sqlalchemy_utils Signed-off-by: Dinika Saxena --- invenio_oauthclient/models.py | 3 +-- setup.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/invenio_oauthclient/models.py b/invenio_oauthclient/models.py index 7871a7fe..565c1bf9 100644 --- a/invenio_oauthclient/models.py +++ b/invenio_oauthclient/models.py @@ -29,8 +29,7 @@ from invenio_db import db from sqlalchemy.ext.mutable import MutableDict from sqlalchemy.orm import backref -from sqlalchemy_utils import JSONType -from sqlalchemy_utils.types.encrypted import EncryptedType +from sqlalchemy_utils import EncryptedType, JSONType def _secret_key(): diff --git a/setup.py b/setup.py index ccbc8151..5cbdbec1 100644 --- a/setup.py +++ b/setup.py @@ -93,7 +93,7 @@ 'invenio-accounts>=1.0.0b7', 'invenio-mail>=1.0.0b1', 'six>=1.9', - 'sqlalchemy-utils>=0.32.0', + 'sqlalchemy-utils>=0.33.0', 'uritools>=1.0.1', ]