Skip to content

Commit

Permalink
fix(ingest): support async_flag properly in ingestProposalBatch (#12332)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 authored Jan 14, 2025
1 parent ddd0d21 commit e1532a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata-ingestion/src/datahub/emitter/rest_emitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ def emit_mcps(
# the size when chunking, and again for the actual request.
payload_dict: dict = {"proposals": mcp_obj_chunk}
if async_flag is not None:
payload_dict["async"] = True if async_flag else False
payload_dict["async"] = "true" if async_flag else "false"

payload = json.dumps(payload_dict)
self._emit_generic(url, payload)
Expand Down

0 comments on commit e1532a7

Please sign in to comment.