From 7b781f39e28bccf0bcf2ac3064f3403ae6deaa81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Andrei?= Date: Fri, 1 Nov 2024 17:34:39 -0300 Subject: [PATCH] Lint fixes --- src/plone/restapi/deserializer/dxcontent.py | 1 - src/plone/restapi/serializer/dxcontent.py | 1 - src/plone/restapi/serializer/dxschema.py | 1 - 3 files changed, 3 deletions(-) diff --git a/src/plone/restapi/deserializer/dxcontent.py b/src/plone/restapi/deserializer/dxcontent.py index 415d490d7..ed1601576 100644 --- a/src/plone/restapi/deserializer/dxcontent.py +++ b/src/plone/restapi/deserializer/dxcontent.py @@ -1,7 +1,6 @@ from .mixins import OrderingMixin from AccessControl import getSecurityManager from plone.dexterity.interfaces import IDexterityContent -from plone.restapi import _ from plone.restapi.deserializer import json_body from plone.restapi.interfaces import IDeserializeFromJson from plone.restapi.deserializer.utils import deserialize_schemas diff --git a/src/plone/restapi/serializer/dxcontent.py b/src/plone/restapi/serializer/dxcontent.py index 0a182dcf5..0e598ed5f 100644 --- a/src/plone/restapi/serializer/dxcontent.py +++ b/src/plone/restapi/serializer/dxcontent.py @@ -7,7 +7,6 @@ from plone.dexterity.utils import iterSchemata from plone.restapi.batching import HypermediaBatch from plone.restapi.deserializer import boolean_value -from plone.restapi.interfaces import IFieldSerializer from plone.restapi.interfaces import IObjectPrimaryFieldTarget from plone.restapi.interfaces import IPrimaryFieldTarget from plone.restapi.interfaces import ISerializeToJson diff --git a/src/plone/restapi/serializer/dxschema.py b/src/plone/restapi/serializer/dxschema.py index cd446a144..277cd7f9c 100644 --- a/src/plone/restapi/serializer/dxschema.py +++ b/src/plone/restapi/serializer/dxschema.py @@ -10,7 +10,6 @@ from zope.interface import implementer from zope.interface import Interface from zope.schema import getFields -from plone.dexterity.interfaces import IDexterityContent from plone.dexterity.content import DexterityContent from zope.interface.interfaces import IInterface from plone.dexterity.interfaces import IContentType