1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

9856 misc fixes

This commit is contained in:
Arthur
2024-02-15 16:03:47 -08:00
parent ff03abf23e
commit a0d0ab1e78
3 changed files with 6 additions and 8 deletions

View File

@@ -118,7 +118,6 @@ class CableTerminationType(NetBoxObjectType):
Annotated["PowerOutletType", strawberry.lazy('dcim.graphql.types')],
Annotated["PowerPortType", strawberry.lazy('dcim.graphql.types')],
Annotated["RearPortType", strawberry.lazy('dcim.graphql.types')],
], strawberry.union("CableTerminationTerminationType")]]:
return self.termination
@@ -586,12 +585,11 @@ class SiteGroupType(VLANGroupsMixin, ContactsMixin, OrganizationalObjectType):
@strawberry_django.type(
models.VirtualChassis,
# fields='__all__',
exclude=('member_count',), # bug - temp
fields='__all__',
filters=VirtualChassisFilter
)
class VirtualChassisType(NetBoxObjectType):
pass
member_count: BigInt
@strawberry_django.type(