mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-06 20:17:29 -06:00
#6732 - Fix imports and other small items
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user