mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 10:58:37 -06:00
Permit TenantType.group to be null
This commit is contained in:
parent
3abc8f44b5
commit
ad65584b2b
@ -34,7 +34,7 @@ __all__ = (
|
||||
|
||||
@strawberry_django.type(models.Tenant, fields='__all__', filters=TenantFilter)
|
||||
class TenantType(NetBoxObjectType):
|
||||
group: Annotated['TenantGroupType', strawberry.lazy('tenancy.graphql.types')]
|
||||
group: Annotated['TenantGroupType', strawberry.lazy('tenancy.graphql.types')] | None
|
||||
contacts: List[Annotated['ContactType', strawberry.lazy('tenancy.graphql.types')]]
|
||||
asns: List[Annotated['ASNType', strawberry.lazy('ipam.graphql.types')]]
|
||||
circuits: List[Annotated['CircuitType', strawberry.lazy('circuits.graphql.types')]]
|
||||
|
Loading…
Reference in New Issue
Block a user