Skip to content

Commit

Permalink
Fix DataframeInput error when microbatch enabled (#802)
Browse files Browse the repository at this point in the history
  • Loading branch information
parano authored Jun 15, 2020
1 parent 6156a96 commit 5b6bd29
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bentoml/adapters/dataframe_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,10 @@ def handle_batch_request(
]
# TODO: check content_type

df_conc, slices = read_dataframes_from_json_n_csv(datas, content_types)
df_conc, slices_generator = read_dataframes_from_json_n_csv(
datas, content_types
)
slices = list(slices_generator)

result_conc = func(df_conc)

Expand Down

0 comments on commit 5b6bd29

Please sign in to comment.