mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
9856 cleanup
This commit is contained in:
@ -446,7 +446,10 @@ class APIViewTestCases:
|
||||
|
||||
# Compile list of fields to include
|
||||
fields_string = ''
|
||||
for field_name, field in type_class._meta.fields.items():
|
||||
|
||||
for field_name, field in type_class.__dataclass_fields__.items():
|
||||
# for field_name, field in type_class._meta.fields.items():
|
||||
print(f"field_name: {field_name} field: {field}")
|
||||
is_string_array = False
|
||||
if type(field.type) is GQLList:
|
||||
if field.type.of_type is GQLString:
|
||||
|
Reference in New Issue
Block a user