#6732 - Fix imports and other small items

This commit is contained in:
Daniel Sheppard
2021-10-29 14:54:55 -05:00
parent a30e7bf34f
commit 3991115ae5
11 changed files with 8 additions and 23 deletions

View File

@@ -5,7 +5,7 @@ from extras.graphql.mixins import (
ChangelogMixin, ConfigContextMixin, CustomFieldsMixin, ImageAttachmentsMixin, TagsMixin,
)
from ipam.graphql.mixins import IPAddressesMixin, VLANGroupsMixin
from ipam.graphql.scalars import ASNField
from netbox.graphql.scalars import BigInt
from netbox.graphql.types import BaseObjectType, OrganizationalObjectType, PrimaryObjectType
__all__ = (
@@ -383,7 +383,7 @@ class RegionType(VLANGroupsMixin, OrganizationalObjectType):
class SiteType(VLANGroupsMixin, ImageAttachmentsMixin, PrimaryObjectType):
asn = graphene.Field(ASNField)
asn = graphene.Field(BigInt)
class Meta:
model = models.Site