apis-acdhch-default-settings 2.15.0__py3-none-any.whl → 2.16.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,8 @@ class E74_GroupExternalAutocomplete(ExternalAutocomplete):
13
13
  params={
14
14
  "filter": "type:CorporateBody",
15
15
  "format": "json:preferredName,geographicAreaCode,dateOfEstablishment,broaderTermInstantial",
16
- }
16
+ },
17
+ data_mapping={"label": "label"},
17
18
  ),
18
19
  ]
19
20
 
@@ -28,12 +29,14 @@ class E53_PlaceExternalAutocomplete(ExternalAutocomplete):
28
29
  template="e53_place_from_typesense_autocomplete_result.html",
29
30
  token=os.getenv("TYPESENSE_TOKEN", None),
30
31
  server=os.getenv("TYPESENSE_SERVER", None),
32
+ data_mapping={"label": ["document", "label"]},
31
33
  ),
32
34
  LobidAutocompleteAdapter(
33
35
  params={
34
36
  "filter": "type:PlaceOrGeographicName",
35
37
  "format": "json:preferredName",
36
- }
38
+ },
39
+ data_mapping={"label": "label"},
37
40
  ),
38
41
  ]
39
42
 
@@ -44,11 +47,13 @@ class E21_PersonExternalAutocomplete(ExternalAutocomplete):
44
47
  collections="prosnet-wikidata-person-index",
45
48
  token=os.getenv("TYPESENSE_TOKEN", None),
46
49
  server=os.getenv("TYPESENSE_SERVER", None),
50
+ data_mapping={"surname": ["document", "label"]},
47
51
  ),
48
52
  LobidAutocompleteAdapter(
49
53
  params={
50
54
  "filter": "type:Person",
51
55
  "format": "json:preferredName,professionOrOccupation",
52
- }
56
+ },
57
+ data_mapping={"surname": "label"},
53
58
  ),
54
59
  ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apis-acdhch-default-settings
3
- Version: 2.15.0
3
+ Version: 2.16.0
4
4
  Summary: Default settings for APIS instances at the ACDH-CH
5
5
  Project-URL: source, https://github.com/acdh-oeaw/apis-acdhch-default-settings
6
6
  Project-URL: changelog, https://github.com/acdh-oeaw/apis-acdhch-default-settings/blob/main/CHANGELOG.md
@@ -10,7 +10,7 @@ License-Expression: MIT
10
10
  License-File: LICENSE
11
11
  Requires-Python: >=3.13
12
12
  Requires-Dist: apis-acdhch-django-auditlog>=0.2.1
13
- Requires-Dist: apis-core-rdf>=0.54.0
13
+ Requires-Dist: apis-core-rdf>=0.58.0
14
14
  Requires-Dist: dj-database-url<4.0,>=2.0.0
15
15
  Requires-Dist: django-allow-cidr<0.9,>=0.6
16
16
  Requires-Dist: django-auditlog>=3.1.2
@@ -1,6 +1,6 @@
1
1
  apis_acdhch_default_settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  apis_acdhch_default_settings/ldapauth.py,sha256=pvb_oak-dGeg0iN8M0M4iwL3wBBwtVXdzNdmj7fKvr4,873
3
- apis_acdhch_default_settings/querysets.py,sha256=zu1NLUSV48vITX-2QuPR59zMBPe-lvQwvLl6yTIyFhE,1598
3
+ apis_acdhch_default_settings/querysets.py,sha256=tzlkVs1JrvHR1FKnOus2b7SUEHfyuML7aNGqzlAQo10,1858
4
4
  apis_acdhch_default_settings/settings.py,sha256=NGsTodeW8LTdzBFIM-FM2VHIfEj3jMZseFABdF6TO88,9226
5
5
  apis_acdhch_default_settings/urls.py,sha256=WZNKn2PhxPlDlQSitK1XRgqxVK8UB9vBfLGr-wC8Atg,1069
6
6
  apis_acdhch_default_settings/views.py,sha256=Xffr0DkaIr81BTj0xlqUMd38C8XGYubL9RJkBxrcAyE,1044
@@ -10,7 +10,7 @@ apis_acdhch_default_settings/templates/base.html,sha256=GMvCi3Vci-GhM31ILNN3zQjS
10
10
  apis_acdhch_default_settings/templates/e53_place_from_typesense_autocomplete_result.html,sha256=Tpkes1Q5MDn3A4vHznA2YBG5AJAVA4A4cmxvr0P60jE,589
11
11
  apis_acdhch_default_settings/templates/imprint.html,sha256=8P6TUA0bkhXTQAhCiFZONe_xJhPt8YvNTzNmAWNWZ0k,270
12
12
  apis_acdhch_default_settings/templates/partials/footer.html,sha256=CgKfS8KA8RAEeccpoinrpF8Zub3IWhOmPl9gv39uKSc,648
13
- apis_acdhch_default_settings-2.15.0.dist-info/METADATA,sha256=axByoj5XxL1zwGqewXLxTE2EF-xCFBaccwVRwFCZ8bk,1482
14
- apis_acdhch_default_settings-2.15.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
- apis_acdhch_default_settings-2.15.0.dist-info/licenses/LICENSE,sha256=cMJgiPvvZVbZQcWrf-s1Es1W2b8sxKA0C7HlD4n8_Oo,1146
16
- apis_acdhch_default_settings-2.15.0.dist-info/RECORD,,
13
+ apis_acdhch_default_settings-2.16.0.dist-info/METADATA,sha256=XExedeCj3BmBYto37dw0rUQ3eVuYSa3eYouUYISFeOA,1482
14
+ apis_acdhch_default_settings-2.16.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
15
+ apis_acdhch_default_settings-2.16.0.dist-info/licenses/LICENSE,sha256=cMJgiPvvZVbZQcWrf-s1Es1W2b8sxKA0C7HlD4n8_Oo,1146
16
+ apis_acdhch_default_settings-2.16.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.27.0
2
+ Generator: hatchling 1.28.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any