mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 10:58:37 -06:00
9856 review changes
This commit is contained in:
parent
d53bd5fdbc
commit
c8ae7a3c8d
@ -4,6 +4,7 @@ import strawberry
|
|||||||
from strawberry import auto
|
from strawberry import auto
|
||||||
import strawberry_django
|
import strawberry_django
|
||||||
|
|
||||||
|
from core.models import ObjectType as ObjectType_
|
||||||
from django.contrib.contenttypes.models import ContentType
|
from django.contrib.contenttypes.models import ContentType
|
||||||
from extras.graphql.mixins import (
|
from extras.graphql.mixins import (
|
||||||
ChangelogMixin,
|
ChangelogMixin,
|
||||||
@ -92,3 +93,11 @@ class NetBoxObjectType(
|
|||||||
)
|
)
|
||||||
class ContentTypeType:
|
class ContentTypeType:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
@strawberry_django.type(
|
||||||
|
ObjectType_,
|
||||||
|
fields=['id', 'app_label', 'model'],
|
||||||
|
)
|
||||||
|
class ObjectTypeType:
|
||||||
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user