From 123691fe53df085310889fb4aeec06cbc39ed217 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Tue, 6 Jul 2021 16:20:51 +0100 Subject: [PATCH] docs: Fix failing build This is failing because the docstring for this attribute that we're inheriting from sqlalchemy refers to a 'ref' that doesn't exist in our tree. The solution is to simply override the docstring. Change-Id: I7210848d45fb8651db63f1be8a194ce0ffc2bfac Signed-off-by: Stephen Finucane --- keystone/common/sql/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/keystone/common/sql/core.py b/keystone/common/sql/core.py index 89169aaf3d..7670c47aae 100644 --- a/keystone/common/sql/core.py +++ b/keystone/common/sql/core.py @@ -123,6 +123,7 @@ class JsonBlob(sql_types.TypeDecorator): # https://docs.sqlalchemy.org/en/14/core/custom_types.html# \ # sqlalchemy.types.TypeDecorator.cache_ok cache_ok = True + """This type is safe to cache.""" def process_bind_param(self, value, dialect): return jsonutils.dumps(value) @@ -152,6 +153,7 @@ class DateTimeInt(sql_types.TypeDecorator): # https://docs.sqlalchemy.org/en/14/core/custom_types.html# \ # sqlalchemy.types.TypeDecorator.cache_ok cache_ok = True + """This type is safe to cache.""" def process_bind_param(self, value, dialect): if value is None: