From 8facd2c8307d4c1ed13ac510f42045898acd7465 Mon Sep 17 00:00:00 2001 From: M Aswin Kishore Date: Sat, 25 Nov 2023 10:43:24 +0530 Subject: [PATCH] fix: ruff lint --- examples/falcon_mongoengine/types.py | 5 ++--- graphene_mongo/fields_async.py | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/falcon_mongoengine/types.py b/examples/falcon_mongoengine/types.py index 2e824cb9..2c42c173 100644 --- a/examples/falcon_mongoengine/types.py +++ b/examples/falcon_mongoengine/types.py @@ -1,8 +1,7 @@ -import graphene from graphene import relay -from graphene_mongo import MongoengineObjectType -from .models import Category, Bookmark +from graphene_mongo import MongoengineObjectType +from .models import Bookmark, Category class CategoryType(MongoengineObjectType): diff --git a/graphene_mongo/fields_async.py b/graphene_mongo/fields_async.py index 314623e5..c85c0d62 100644 --- a/graphene_mongo/fields_async.py +++ b/graphene_mongo/fields_async.py @@ -15,7 +15,6 @@ from graphql import GraphQLResolveInfo from graphql_relay import cursor_to_offset, from_global_id from mongoengine import QuerySet -from mongoengine.base import get_document from promise import Promise from pymongo.errors import OperationFailure