Skip to content

Commit

Permalink
Fix WebSocket dataframe arguments creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Inokinoki committed Oct 26, 2023
1 parent a92296f commit bd1f35e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/communications/test_websocket_actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def test_websocket_actor_run_model_for_data_frame_regression_internal(request):
dataframe = websocket.DataFrame(
rows=[
websocket.DataRow(columns={
k: v for k, v in row.items()
str(k): str(v) for k, v in row.items()
}) for _, row in dataset.df.iterrows()
],
)
Expand Down Expand Up @@ -191,7 +191,7 @@ def test_websocket_actor_run_model_for_data_frame_classification_internal(reques
dataframe = websocket.DataFrame(
rows=[
websocket.DataRow(columns={
k: v for k, v in row.items()
str(k): str(v) for k, v in row.items()
}) for _, row in dataset.df.iterrows()
],
)
Expand Down

0 comments on commit bd1f35e

Please sign in to comment.