Skip to content

Commit 82e25d0

Browse files
committed
Version -> 1.2.1
1 parent 26bb4a6 commit 82e25d0

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

gramps_webapi/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
#
1919

2020
# make sure to match this version with the one in apispec.yaml
21-
__version__ = "1.2.0"
21+
__version__ = "1.2.1"

gramps_webapi/api/resources/util.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,11 @@ def _get_class_name(super_name, key_name) -> str:
970970
return "PlaceName"
971971
if key_name in ["primary_name", "alternate_names"]:
972972
return "Name"
973-
if key_name == "attribute_list" and super_name == "Citation":
973+
if (
974+
key_name == "attribute_list"
975+
and super_name == "Citation"
976+
or super_name == "Source"
977+
):
974978
return "SrcAttribute"
975979
elif key_name == "attribute_list":
976980
return "Attribute"

gramps_webapi/data/apispec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ info:
88
99
1010
* More about Gramps and the numerous features it provides for genealogists can be found at https://gramps-project.org
11-
version: "1.2.0" # make sure to match this version with the one in _version.py
11+
version: "1.2.1" # make sure to match this version with the one in _version.py
1212
license:
1313
name: "GNU Affero General Public License v3.0"
1414
url: "http://www.gnu.org/licenses/agpl-3.0.html"

0 commit comments

Comments
 (0)