mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 10:58:37 -06:00
9856 misc fixes
This commit is contained in:
parent
ae4605622c
commit
776d0f2a65
@ -131,9 +131,9 @@ social-auth-core
|
|||||||
# https://github.com/python-social-auth/social-app-django/blob/master/CHANGELOG.md
|
# https://github.com/python-social-auth/social-app-django/blob/master/CHANGELOG.md
|
||||||
social-auth-app-django
|
social-auth-app-django
|
||||||
|
|
||||||
# Enhanced Strawberry GraphQL integration with Django
|
# Strawberry GraphQL Django extension
|
||||||
# https://github.com/blb-ventures/strawberry-django-plus/blob/main/CHANGELOG.md
|
# https://github.com/strawberry-graphql/strawberry-django/blob/main/CHANGELOG.md
|
||||||
strawberry-graphql-django
|
strawberry-django
|
||||||
|
|
||||||
# SVG image rendering (used for rack elevations)
|
# SVG image rendering (used for rack elevations)
|
||||||
# https://github.com/mozman/svgwrite/blob/master/NEWS.rst
|
# https://github.com/mozman/svgwrite/blob/master/NEWS.rst
|
||||||
|
@ -118,7 +118,6 @@ class CableTerminationType(NetBoxObjectType):
|
|||||||
Annotated["PowerOutletType", strawberry.lazy('dcim.graphql.types')],
|
Annotated["PowerOutletType", strawberry.lazy('dcim.graphql.types')],
|
||||||
Annotated["PowerPortType", strawberry.lazy('dcim.graphql.types')],
|
Annotated["PowerPortType", strawberry.lazy('dcim.graphql.types')],
|
||||||
Annotated["RearPortType", strawberry.lazy('dcim.graphql.types')],
|
Annotated["RearPortType", strawberry.lazy('dcim.graphql.types')],
|
||||||
|
|
||||||
], strawberry.union("CableTerminationTerminationType")]]:
|
], strawberry.union("CableTerminationTerminationType")]]:
|
||||||
return self.termination
|
return self.termination
|
||||||
|
|
||||||
@ -586,12 +585,11 @@ class SiteGroupType(VLANGroupsMixin, ContactsMixin, OrganizationalObjectType):
|
|||||||
|
|
||||||
@strawberry_django.type(
|
@strawberry_django.type(
|
||||||
models.VirtualChassis,
|
models.VirtualChassis,
|
||||||
# fields='__all__',
|
fields='__all__',
|
||||||
exclude=('member_count',), # bug - temp
|
|
||||||
filters=VirtualChassisFilter
|
filters=VirtualChassisFilter
|
||||||
)
|
)
|
||||||
class VirtualChassisType(NetBoxObjectType):
|
class VirtualChassisType(NetBoxObjectType):
|
||||||
pass
|
member_count: BigInt
|
||||||
|
|
||||||
|
|
||||||
@strawberry_django.type(
|
@strawberry_django.type(
|
||||||
|
@ -30,7 +30,7 @@ PyYAML==6.0.1
|
|||||||
requests==2.31.0
|
requests==2.31.0
|
||||||
social-auth-app-django==5.4.0
|
social-auth-app-django==5.4.0
|
||||||
social-auth-core[openidconnect]==4.5.2
|
social-auth-core[openidconnect]==4.5.2
|
||||||
strawberry-graphql-django==0.30.1
|
strawberry-graphql-django==0.31.0
|
||||||
svgwrite==1.4.3
|
svgwrite==1.4.3
|
||||||
tablib==3.5.0
|
tablib==3.5.0
|
||||||
tzdata==2023.4
|
tzdata==2023.4
|
||||||
|
Loading…
Reference in New Issue
Block a user