From c3031c647e35d88794bade7c566d3ba00dc37e8a Mon Sep 17 00:00:00 2001 From: jameshod5 Date: Thu, 2 May 2024 08:38:57 +0100 Subject: [PATCH] added ignore flag as ruff didn't like the special class --- src/api/graphql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/graphql.py b/src/api/graphql.py index 19900f3..4df3a90 100644 --- a/src/api/graphql.py +++ b/src/api/graphql.py @@ -265,7 +265,7 @@ def signal_datasets( self, limit: Optional[int] = None, where: Optional[ShotWhereFilter] = None, - ) -> List[strawberry.LazyType["Shot", __module__]]: + ) -> List[strawberry.LazyType["Shot", __module__]]: # noqa: F821 results = do_where_child_member(self.signal_datasets, where) if limit is not None: results = results[:limit] @@ -274,7 +274,7 @@ def signal_datasets( @strawberry.field def signals( self, limit: Optional[int] = None, where: Optional[SignalWhereFilter] = None - ) -> List[strawberry.LazyType["Signal", __module__]]: + ) -> List[strawberry.LazyType["Signal", __module__]]: # noqa: F821 results = do_where_child_member(self.signals, where) if limit is not None: results = results[:limit]