9856 review changes
This commit is contained in:
parent
b75b9e01eb
commit
908150f9a1
|
|
@ -4,6 +4,7 @@ import strawberry
|
|||
from strawberry import auto
|
||||
import strawberry_django
|
||||
|
||||
from core.models import ObjectType as ObjectType_
|
||||
from django.contrib.contenttypes.models import ContentType
|
||||
from extras.graphql.mixins import (
|
||||
ChangelogMixin,
|
||||
|
|
@ -92,3 +93,11 @@ class NetBoxObjectType(
|
|||
)
|
||||
class ContentTypeType:
|
||||
pass
|
||||
|
||||
|
||||
@strawberry_django.type(
|
||||
ObjectType_,
|
||||
fields=['id', 'app_label', 'model'],
|
||||
)
|
||||
class ObjectTypeType:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Reference in New Issue