Files
netbox/netbox/users/graphql/mixins.py
Jeremy Stretch be74436884
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
Closes #20304: Object owners (#20634)
2025-10-24 13:08:01 -07:00

16 lines
279 B
Python

from typing import Annotated, TYPE_CHECKING
import strawberry
if TYPE_CHECKING:
from users.graphql.types import OwnerType
__all__ = (
'OwnerMixin',
)
@strawberry.type
class OwnerMixin:
owner: Annotated['OwnerType', strawberry.lazy('users.graphql.types')] | None