Fix batch get chunks in sdk

This commit is contained in:
Adityavardhan Agrawal 2025-04-29 21:53:03 -07:00
parent b521f29acd
commit c6ec5cc9fb

View File

@ -373,7 +373,8 @@ class _MorphikClientLogic:
if end_user_id:
request["end_user_id"] = end_user_id
return request
return source_dicts # Return just sources list if no scoping is needed
# Return the dictionary structure { "sources": [...] } consistently.
return {"sources": source_dicts}
def _prepare_create_graph_request(
self,