Skip to content

Commit

Permalink
Adding geographies to the Passage hit. (#97)
Browse files Browse the repository at this point in the history
* Adding geographies to the Passage hit.

* Bumping the version.

---------

Co-authored-by: Mark <[email protected]>
  • Loading branch information
THOR300 and Mark authored Sep 12, 2024
1 parent 2e477e7 commit 348a1d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/cpr_sdk/models/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ def from_vespa_response(cls, response_hit: dict) -> "Passage":
family_category=fields.get("family_category"),
family_publication_ts=family_publication_ts,
family_geography=fields.get("family_geography"),
family_geographies=fields.get("family_geographies", []),
document_import_id=fields.get("document_import_id"),
document_slug=fields.get("document_slug"),
document_languages=fields.get("document_languages", []),
Expand Down
2 changes: 1 addition & 1 deletion src/cpr_sdk/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
_MAJOR = "1"
_MINOR = "4"
_PATCH = "1"
_PATCH = "2"
_SUFFIX = ""

VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR)
Expand Down

0 comments on commit 348a1d8

Please sign in to comment.