Files
netbox/netbox/core/graphql/schema.py

14 lines
370 B
Python

import strawberry
import strawberry_django
from .types import *
@strawberry.type(name="Query")
class CoreQuery:
data_file: DataFileType = strawberry_django.field()
data_file_list: list[DataFileType] = strawberry_django.field()
data_source: DataSourceType = strawberry_django.field()
data_source_list: list[DataSourceType] = strawberry_django.field()