We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82e25d0 commit 33d248bCopy full SHA for 33d248b
gramps_webapi/api/resources/util.py
@@ -970,10 +970,8 @@ def _get_class_name(super_name, key_name) -> str:
970
return "PlaceName"
971
if key_name in ["primary_name", "alternate_names"]:
972
return "Name"
973
- if (
974
- key_name == "attribute_list"
975
- and super_name == "Citation"
976
- or super_name == "Source"
+ if key_name == "attribute_list" and (
+ super_name == "Citation" or super_name == "Source"
977
):
978
return "SrcAttribute"
979
elif key_name == "attribute_list":
0 commit comments