Skip to content

Commit

Permalink
Flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin Aguiar authored and Gavin Aguiar committed Oct 6, 2023
1 parent affdc73 commit 3844639
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions azure_functions_worker/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,12 @@ def build_fixed_delay_retry(retry, max_retry_count, retry_strategy):

def build_variable_interval_retry(retry, max_retry_count, retry_strategy):
minimum_interval = Duration(
seconds=convert_to_seconds(retry.get(RetryPolicy.MINIMUM_INTERVAL.value))
seconds=convert_to_seconds(
retry.get(RetryPolicy.MINIMUM_INTERVAL.value))
)
maximum_interval = Duration(
seconds=convert_to_seconds(retry.get(RetryPolicy.MAXIMUM_INTERVAL.value))
seconds=convert_to_seconds(
retry.get(RetryPolicy.MAXIMUM_INTERVAL.value))
)
return protos.RpcRetryOptions(
max_retry_count=max_retry_count,
Expand Down

0 comments on commit 3844639

Please sign in to comment.