Coverage for circuits/graphql/filter_mixins.py: 85%
11 statements
« prev ^ index » next coverage.py v7.15.2, created at 2026-10-10 18:35 +0000
« prev ^ index » next coverage.py v7.15.2, created at 2026-10-10 18:35 +0000
1from dataclasses import dataclass
2from typing import TYPE_CHECKING, Annotated
4import strawberry
5import strawberry_django
6from strawberry_django import BaseFilterLookup
8if TYPE_CHECKING: 8 ↛ 9line 8 didn't jump to line 9 because the condition on line 8 was never true
9 from netbox.graphql.enums import ColorEnum
11__all__ = (
12 'CircuitTypeFilterMixin',
13)
16@dataclass
17class CircuitTypeFilterMixin:
18 color: BaseFilterLookup[Annotated['ColorEnum', strawberry.lazy('netbox.graphql.enums')]] | None = (
19 strawberry_django.filter_field()
20 )