Skip to content

Commit

Permalink
[fix] gason::JSON_EMPTY as part of JsonTag enum
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander.A,Utkin committed Nov 11, 2024
1 parent 169056c commit 64c5899
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pyreindexer/lib/include/pyobjtools.cc
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ PyObject* pyValueFromJsonValue(const gason::JsonValue& value) {
Py_XDECREF(dictFromJson);
}
break;
case gason::JSON_EMPTY:
throw gason::Exception("Unexpected `JSON_EMPTY` tag");
break;
}

return pyValue;
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def build_cmake(self, ext):


setup(name=PACKAGE_NAME,
version='0.2.42',
version='0.2.43',
description='A connector that allows to interact with Reindexer',
author='Igor Tulmentyev',
author_email='[email protected]',
Expand Down

0 comments on commit 64c5899

Please sign in to comment.