mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-21 03:27:21 -06:00
9856 test fixes
This commit is contained in:
parent
888d9ecec6
commit
0ca46e349f
@ -486,8 +486,6 @@ class InterfaceTemplateType(ComponentTemplateObjectType):
|
|||||||
filters=InventoryItemFilter
|
filters=InventoryItemFilter
|
||||||
)
|
)
|
||||||
class InventoryItemType(ComponentObjectType):
|
class InventoryItemType(ComponentObjectType):
|
||||||
_name: str
|
|
||||||
|
|
||||||
@strawberry_django.field
|
@strawberry_django.field
|
||||||
def parent(self) -> Annotated["InventoryItemType", strawberry.lazy('dcim.graphql.types')] | None:
|
def parent(self) -> Annotated["InventoryItemType", strawberry.lazy('dcim.graphql.types')] | None:
|
||||||
return self.parent
|
return self.parent
|
||||||
@ -596,7 +594,7 @@ class ManufacturerType(OrganizationalObjectType, ContactsMixin):
|
|||||||
fields='__all__',
|
fields='__all__',
|
||||||
filters=ModuleFilter
|
filters=ModuleFilter
|
||||||
)
|
)
|
||||||
class ModuleType(ComponentObjectType):
|
class ModuleType(NetBoxObjectType):
|
||||||
|
|
||||||
@strawberry_django.field
|
@strawberry_django.field
|
||||||
def interfaces(self) -> List[Annotated["InterfaceType", strawberry.lazy('dcim.graphql.types')]]:
|
def interfaces(self) -> List[Annotated["InterfaceType", strawberry.lazy('dcim.graphql.types')]]:
|
||||||
|
Loading…
Reference in New Issue
Block a user