summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2021-07-06 16:20:51 +0100
committerStephen Finucane <sfinucan@redhat.com>2021-07-06 16:22:10 +0100
commit123691fe53df085310889fb4aeec06cbc39ed217 (patch)
treef99d77d83aa257f67933017272f4e9157c378579
parent252733dce7ae7d335b982d36e96b64e7a29d4ef2 (diff)
downloadkeystone-123691fe53df085310889fb4aeec06cbc39ed217.tar.gz
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 <sfinucan@redhat.com>
-rw-r--r--keystone/common/sql/core.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/keystone/common/sql/core.py b/keystone/common/sql/core.py
index 89169aaf3..7670c47aa 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: