mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
13 lines
336 B
Python
13 lines
336 B
Python
![]() |
import graphene
|
||
|
|
||
|
from netbox.graphql.fields import ObjectField, ObjectListField
|
||
|
from .types import *
|
||
|
|
||
|
|
||
|
class CoreQuery(graphene.ObjectType):
|
||
|
data_file = ObjectField(DataFileType)
|
||
|
data_file_list = ObjectListField(DataFileType)
|
||
|
|
||
|
data_source = ObjectField(DataSourceType)
|
||
|
data_source_list = ObjectListField(DataSourceType)
|