Skip to content

Commit

Permalink
Fixing unrelated lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
SachinVarghese committed Sep 2, 2021
1 parent d18f4d7 commit 1282947
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
7 changes: 6 additions & 1 deletion python/seldon_core/batch_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,12 @@ def _start_request_worker(
# as a single request and split the response into multiple responses.
if len(input_data) > 1:
str_outputs = _send_batch_predict_multi_request(
input_data, data_type, sc, retries, batch_id, payload_type,
input_data,
data_type,
sc,
retries,
batch_id,
payload_type,
)
for str_output in str_outputs:
q_out.put(str_output)
Expand Down
8 changes: 6 additions & 2 deletions testing/scripts/seldon_e2e_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,10 @@ def create_and_run_script(folder, notebook):
run(f"chmod u+x {folder}/{notebook}.py", shell=True, check=True)
try:
run(
f"cd {folder} && ./{notebook}.py", shell=True, check=True, encoding="utf-8",
f"cd {folder} && ./{notebook}.py",
shell=True,
check=True,
encoding="utf-8",
)
except CalledProcessError as e:
logging.error(
Expand Down Expand Up @@ -705,7 +708,8 @@ def print_benchmark_results(final):


def parse_bench_results_from_log(
results_log, print_results=True,
results_log,
print_results=True,
):
final = {}
# For GHZ / grpc
Expand Down

0 comments on commit 1282947

Please sign in to comment.