mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
15553 change graphql sub-queries from functions to types (#15557)
* 15553 change graphql list to types * 15553 review changes
This commit is contained in:
@@ -34,6 +34,4 @@ class GroupType:
|
||||
filters=UserFilter
|
||||
)
|
||||
class UserType:
|
||||
@strawberry_django.field
|
||||
def groups(self) -> List[GroupType]:
|
||||
return self.groups.all()
|
||||
groups: List[GroupType]
|
||||
|
Reference in New Issue
Block a user