Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yinjiaqi authored and yinjiaqi committed Jan 22, 2025
1 parent d1de10c commit 6fb7524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/core/console/component_client/component_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def run(
else:
data = response.json()
resp = data_class.RunResponse(**data)
return Message(content=resp.data)
return Message(content=resp)

@staticmethod
def _iterate_events(request_id, events):
Expand All @@ -114,4 +114,4 @@ def _iterate_events(request_id, events):
message="json decoder failed {}".format(str(e)),
)
resp = data_class.RunResponse(**data)
yield resp.data
yield resp

0 comments on commit 6fb7524

Please sign in to comment.