|
|
@@ -20,7 +20,7 @@ from tenancy.graphql.filter_mixins import ContactFilterMixin, TenancyFilterMixin
|
|
|
from virtualization.models import VMInterface
|
|
|
|
|
|
if TYPE_CHECKING:
|
|
|
- from netbox.graphql.filter_lookups import IntegerLookup, IntegerRangeArrayLookup
|
|
|
+ from netbox.graphql.filter_lookups import BigIntegerLookup, IntegerLookup, IntegerRangeArrayLookup
|
|
|
from circuits.graphql.filters import ProviderFilter
|
|
|
from core.graphql.filters import ContentTypeFilter
|
|
|
from dcim.graphql.filters import SiteFilter
|
|
|
@@ -53,7 +53,7 @@ __all__ = (
|
|
|
class ASNFilter(TenancyFilterMixin, PrimaryModelFilter):
|
|
|
rir: Annotated['RIRFilter', strawberry.lazy('ipam.graphql.filters')] | None = strawberry_django.filter_field()
|
|
|
rir_id: ID | None = strawberry_django.filter_field()
|
|
|
- asn: Annotated['IntegerLookup', strawberry.lazy('netbox.graphql.filter_lookups')] | None = (
|
|
|
+ asn: Annotated['BigIntegerLookup', strawberry.lazy('netbox.graphql.filter_lookups')] | None = (
|
|
|
strawberry_django.filter_field()
|
|
|
)
|
|
|
sites: (
|
|
|
@@ -70,10 +70,10 @@ class ASNRangeFilter(TenancyFilterMixin, OrganizationalModelFilter):
|
|
|
slug: FilterLookup[str] | None = strawberry_django.filter_field()
|
|
|
rir: Annotated['RIRFilter', strawberry.lazy('ipam.graphql.filters')] | None = strawberry_django.filter_field()
|
|
|
rir_id: ID | None = strawberry_django.filter_field()
|
|
|
- start: Annotated['IntegerLookup', strawberry.lazy('netbox.graphql.filter_lookups')] | None = (
|
|
|
+ start: Annotated['BigIntegerLookup', strawberry.lazy('netbox.graphql.filter_lookups')] | None = (
|
|
|
strawberry_django.filter_field()
|
|
|
)
|
|
|
- end: Annotated['IntegerLookup', strawberry.lazy('netbox.graphql.filter_lookups')] | None = (
|
|
|
+ end: Annotated['BigIntegerLookup', strawberry.lazy('netbox.graphql.filter_lookups')] | None = (
|
|
|
strawberry_django.filter_field()
|
|
|
)
|
|
|
|