mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
20 lines
405 B
Python
20 lines
405 B
Python
from typing import Annotated, List
|
|
|
|
import strawberry
|
|
import strawberry_django
|
|
|
|
__all__ = (
|
|
'IPAddressesMixin',
|
|
'VLANGroupsMixin',
|
|
)
|
|
|
|
|
|
@strawberry.type
|
|
class IPAddressesMixin:
|
|
ip_addresses: List[Annotated["IPAddressType", strawberry.lazy('ipam.graphql.types')]]
|
|
|
|
|
|
@strawberry.type
|
|
class VLANGroupsMixin:
|
|
vlan_groups: List[Annotated["VLANGroupType", strawberry.lazy('ipam.graphql.types')]]
|