diff --git a/src/redturtle/volto/restapi/deserializer/dxfields.py b/src/redturtle/volto/restapi/deserializer/dxfields.py index af7b2e9..9a53019 100644 --- a/src/redturtle/volto/restapi/deserializer/dxfields.py +++ b/src/redturtle/volto/restapi/deserializer/dxfields.py @@ -5,9 +5,15 @@ from plone.app.textfield.interfaces import IRichText from plone.dexterity.interfaces import IDexterityContent from plone.restapi.deserializer.blocks import path2uid -from plone.restapi.deserializer.dxfields import DatetimeFieldDeserializer as DefaultDatetimeFieldDeserializer -from plone.restapi.deserializer.dxfields import RichTextFieldDeserializer as BaseRichTextDeserializer -from plone.restapi.deserializer.dxfields import TextLineFieldDeserializer as BaseTextLineDeserializer +from plone.restapi.deserializer.dxfields import ( + DatetimeFieldDeserializer as DefaultDatetimeFieldDeserializer, +) +from plone.restapi.deserializer.dxfields import ( + RichTextFieldDeserializer as BaseRichTextDeserializer, +) +from plone.restapi.deserializer.dxfields import ( + TextLineFieldDeserializer as BaseTextLineDeserializer, +) from plone.restapi.interfaces import IFieldDeserializer from Products.CMFPlone.utils import safe_unicode from pytz import timezone diff --git a/src/redturtle/volto/restapi/search/query.py b/src/redturtle/volto/restapi/search/query.py index 4b11492..0f6da73 100644 --- a/src/redturtle/volto/restapi/search/query.py +++ b/src/redturtle/volto/restapi/search/query.py @@ -1,6 +1,8 @@ # -*- coding: utf-8 -*- from plone.restapi.interfaces import IIndexQueryParser -from plone.restapi.search.query import ZCTextIndexQueryParser as BaseZCTextIndexQueryParser +from plone.restapi.search.query import ( + ZCTextIndexQueryParser as BaseZCTextIndexQueryParser, +) from Products.ZCTextIndex.ZCTextIndex import ZCTextIndex from redturtle.volto.interfaces import IRedturtleVoltoLayer from zope.component import adapter diff --git a/src/redturtle/volto/restapi/serializer/summary.py b/src/redturtle/volto/restapi/serializer/summary.py index 5fe36d0..f1b49bb 100644 --- a/src/redturtle/volto/restapi/serializer/summary.py +++ b/src/redturtle/volto/restapi/serializer/summary.py @@ -5,7 +5,9 @@ from plone.restapi.deserializer import json_body from plone.restapi.imaging import get_scale_infos from plone.restapi.interfaces import ISerializeToJsonSummary -from plone.restapi.serializer.summary import DefaultJSONSummarySerializer as BaseSerializer +from plone.restapi.serializer.summary import ( + DefaultJSONSummarySerializer as BaseSerializer, +) from plone.restapi.serializer.utils import uid_to_url from redturtle.volto.interfaces import IRedturtleVoltoLayer from zope.component import adapter diff --git a/src/redturtle/volto/restapi/services/querystringsearch/get.py b/src/redturtle/volto/restapi/services/querystringsearch/get.py index d2c13d7..fab8a8a 100644 --- a/src/redturtle/volto/restapi/services/querystringsearch/get.py +++ b/src/redturtle/volto/restapi/services/querystringsearch/get.py @@ -9,7 +9,9 @@ from plone.restapi.interfaces import ISerializeToJson from plone.restapi.interfaces import ISerializeToJsonSummary from plone.restapi.services import Service -from plone.restapi.services.querystringsearch.get import QuerystringSearch as BaseQuerystringSearch +from plone.restapi.services.querystringsearch.get import ( + QuerystringSearch as BaseQuerystringSearch, +) from redturtle.volto.config import MAX_LIMIT from urllib import parse from zExceptions import BadRequest