mirror of
https://github.com/netbox-community/netbox.git
synced 2026-02-04 22:36:24 -06:00
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
16 lines
279 B
Python
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
|