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>
This commit is contained in:
parent
252733dce7
commit
123691fe53
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user