mirror of
https://github.com/netbox-community/netbox.git
synced 2026-03-29 22:02:11 +02:00
16 lines
408 B
Python
16 lines
408 B
Python
from typing import List
|
|
|
|
import strawberry
|
|
import strawberry_django
|
|
|
|
from .types_v1 import *
|
|
|
|
|
|
@strawberry.type(name="Query")
|
|
class CoreQueryV1:
|
|
data_file: DataFileTypeV1 = strawberry_django.field()
|
|
data_file_list: List[DataFileTypeV1] = strawberry_django.field()
|
|
|
|
data_source: DataSourceTypeV1 = strawberry_django.field()
|
|
data_source_list: List[DataSourceTypeV1] = strawberry_django.field()
|