mirror of
https://github.com/netbox-community/netbox.git
synced 2026-03-21 20:18:38 -06:00
CI / build (20.x, 3.12) (push) Failing after 55s
CI / build (20.x, 3.13) (push) Failing after 17s
CI / build (20.x, 3.14) (push) Failing after 11s
CodeQL / Analyze (actions) (push) Failing after 25s
CodeQL / Analyze (javascript-typescript) (push) Failing after 50s
CodeQL / Analyze (python) (push) Failing after 48s
26 lines
921 B
Python
26 lines
921 B
Python
import strawberry
|
|
import strawberry_django
|
|
|
|
from .types import *
|
|
|
|
|
|
@strawberry.type(name="Query")
|
|
class TenancyQuery:
|
|
tenant: TenantType = strawberry_django.field()
|
|
tenant_list: list[TenantType] = strawberry_django.field()
|
|
|
|
tenant_group: TenantGroupType = strawberry_django.field()
|
|
tenant_group_list: list[TenantGroupType] = strawberry_django.field()
|
|
|
|
contact: ContactType = strawberry_django.field()
|
|
contact_list: list[ContactType] = strawberry_django.field()
|
|
|
|
contact_role: ContactRoleType = strawberry_django.field()
|
|
contact_role_list: list[ContactRoleType] = strawberry_django.field()
|
|
|
|
contact_group: ContactGroupType = strawberry_django.field()
|
|
contact_group_list: list[ContactGroupType] = strawberry_django.field()
|
|
|
|
contact_assignment: ContactAssignmentType = strawberry_django.field()
|
|
contact_assignment_list: list[ContactAssignmentType] = strawberry_django.field()
|