mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-20 04:12:25 -06:00
Some checks failed
CI / build (20.x, 3.12) (push) Has been cancelled
CI / build (20.x, 3.13) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Has been cancelled
22 lines
598 B
Python
22 lines
598 B
Python
from typing import List
|
|
|
|
import strawberry
|
|
import strawberry_django
|
|
|
|
from .types import *
|
|
|
|
|
|
@strawberry.type(name="Query")
|
|
class UsersQuery:
|
|
group: GroupType = strawberry_django.field()
|
|
group_list: List[GroupType] = strawberry_django.field()
|
|
|
|
user: UserType = strawberry_django.field()
|
|
user_list: List[UserType] = strawberry_django.field()
|
|
|
|
owner_group: OwnerGroupType = strawberry_django.field()
|
|
owner_group_list: List[OwnerGroupType] = strawberry_django.field()
|
|
|
|
owner: OwnerType = strawberry_django.field()
|
|
owner_list: List[OwnerType] = strawberry_django.field()
|