1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

#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

@@ -1,5 +0,0 @@
from netbox.graphql.scalars import BigInt
class ASNField(BigInt):
pass

View File

@@ -1,7 +1,7 @@
import graphene
from ipam import filtersets, models
from ipam.graphql.scalars import ASNField
from netbox.graphql.scalars import BigInt
from netbox.graphql.types import OrganizationalObjectType, PrimaryObjectType
__all__ = (
@@ -21,7 +21,7 @@ __all__ = (
class ASNType(PrimaryObjectType):
asn = graphene.Field(ASNField)
asn = graphene.Field(BigInt)
class Meta:
model = models.ASN