Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AmandaBirmingham committed Jun 12, 2020
1 parent 6daa4d9 commit 9afef61
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions microsetta_private_api/example/client_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ def _check_home_prereqs():

if len(accts_output) == 0:
# NB: Overwriting outputs from get call above
needs_reroute, accts_output, _ = ApiRequest.post("/accounts/legacies")
needs_reroute, accts_output, _ = ApiRequest.post(
"/accounts/legacies")
if needs_reroute:
current_state[REROUTE_KEY] = accts_output
return NEEDS_REROUTE, current_state
Expand Down Expand Up @@ -976,7 +977,8 @@ def post_claim_samples(account_id, source_id, body):
for curr_sample_id in sample_ids_to_claim:
# Claim sample
has_error, sample_output, _ = ApiRequest.post(
'/accounts/{0}/sources/{1}/samples'.format(account_id, source_id),
'/accounts/{0}/sources/{1}/samples'.format(
account_id, source_id),
json={"sample_id": curr_sample_id})
if has_error:
return sample_output
Expand Down

0 comments on commit 9afef61

Please sign in to comment.