File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1+ v 2.0.1
2+ =======
3+ bugfix: receiving `'$vector': null` caused response parsing to break
4+
15v 2.0.0
2- ==========
6+ =======
37Collections admit `DataAPIMap` in writing and support `DataAPIDate` as well (the latter coming with the same timezone caveats as `datetime.date`)
48(plus all of the v2 pre-releases below)
59
Original file line number Diff line number Diff line change @@ -163,10 +163,8 @@ def postprocess_collection_response_value(
163163 else :
164164 return DataAPIVector .from_bytes (_bytes ).data
165165 else :
166- raise ValueError (
167- f"Response parsing failed at path '{ path } ': unexpected data type "
168- f"found under $vector: { type (value )} "
169- )
166+ return value
167+
170168 if isinstance (value , dict ):
171169 value_keys = set (value .keys ())
172170 if value_keys == {"$date" }:
Original file line number Diff line number Diff line change 11[project ]
22requires-python = " >=3.8"
3- version = " 2.0.0 "
3+ version = " 2.0.1 "
44name = " astrapy"
55description = " AstraPy is a Pythonic SDK for DataStax Astra and its Data API"
66authors = [
@@ -25,7 +25,7 @@ classifiers = [
2525]
2626
2727[tool .poetry ]
28- version = " 2.0.0 "
28+ version = " 2.0.1 "
2929name = " astrapy"
3030description = " AstraPy is a Pythonic SDK for DataStax Astra and its Data API"
3131authors = [
You can’t perform that action at this time.
0 commit comments