[bug] async client: query list value type mis-match
Maintainers usually reply within 1 day
@2830500285 is already working on this.
Since Jun 17, 2026.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start in weaviate/collections/queries/base_executor.py at __deserialize_non_ref_prop and compare the async response handling with the version-specific list parsers shown in the issue. Reproduce the near_text query using list-type values and verify that the async client parses the response without the type mismatch.
Written by the indexing model from the issue text.
Description
When querying text with the async client, there is a bug parsing list-type values
it occurs in your __deserialize_non_ref_prop method on the base_executor file. There is code to escape to a version + 1.25 list parser that is breaking (seems like the async client is still returning the version expected in the < 1.25 version)
if value.HasField("list_value"):
return (
self.__deserialize_list_value_prop_125(value.list_value)
if self._connection._weaviate_version.is_at_least(1, 25, 0)
else self.__deserialize_list_value_prop_123(value.list_value)
)
If i manually edit the package to always use __deserialize_list_value_prop_123, then the async query works, so I assume the fix here is to update the async client response handlers
for reference, here is a simplified look at how im calling it
self.weaviate_async_client = weaviate.use_async_with_weaviate_cloud(
cluster_url=os.getenv('WEAVIATE_HIGH_PERFORMANCE_CLUSTER_URL'),
auth_credentials=weaviate.auth.AuthApiKey(os.getenv('WEAVIATE_HIGH_PERFORMANCE_API_KEY')),
skip_init_checks=True,
headers={
"X-OpenAI-Api-Key": os.getenv('OPENAI_API_KEY'),
"X-Cohere-Api-Key": os.getenv('COHERE_API_KEY'),
"X-VoyageAI-Api-Key": os.getenv('VOYAGE_API_KEY')
}
)
collection_name = 'Posts'
collection = agent.database.weaviate_async_client.collections.get(collection_name)
await agent.database.weaviate_async_client.connect()
search_query = "decentralized training"
results = await collection.query.near_text(query=search_query, limit=10) # -- error
python version: 3.11
weaviate version: weaviate-client-4.16.10
- Dominant language
- Python
- Stars
- 230
- Forks
- 173
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 23
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from weaviate/weaviate-python-client
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
weaviate/weaviate-python-client#2265 ·
Maintainers usually reply within 1 day
-
Batch: re-added rate-limited objects stay in results.objs.all_responses as errorsPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
weaviate/weaviate-python-client#2179 ·
Maintainers usually reply within 1 day
-
collections/batch: one object that fails client-side encoding fails every object sent with itPossibly taken @shadowmodder claimed this today. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 72/100
weaviate/weaviate-python-client#2266 ·
Maintainers usually reply within 1 day
-
batch insert fails the whole batch with "ValueError: Unexpected type" when a value is a DecimalPossibly taken @steven-asearcy claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
weaviate/weaviate-python-client#2263 ·
Maintainers usually reply within 1 day
-
collections/batch/sync.py: after a fast hang-up reconnect the old stream's sender steals a request, hanging add_objectPossibly taken @shadowmodder claimed this 2 days ago. Openbug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
weaviate/weaviate-python-client#2261 ·
Maintainers usually reply within 1 day
All issues in weaviate/weaviate-python-client
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
docling-project/docling-pipelines#669 ·
Maintainers usually reply within 1 day
-
blocked kind/enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
opendatahub-io/agent-eval-harness#329 · 2 comments · 1 reaction ·
-
cc_wrapper crashes with ValueError on Windows when a path is on another drivePossibly taken @TrapsterDK claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
tweag/rules_haskell#2492 ·
Maintainers usually reply within 1 day