Skip to content

Commit

Permalink
chore: make function line break prettier (#2499)
Browse files Browse the repository at this point in the history
Brackets to the rescue! Turns out in python you can add brackets to make
line breaks where-ever you want.
  • Loading branch information
another-rex authored Aug 21, 2024
1 parent 6ed27b1 commit 5de0ac2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gcp/api/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,8 @@ class QueryContext:
total_responses: ResponsesCount

def should_break_page(self, response_count: int):
return response_count >= self.total_responses.page_limit(
) or self.request_cutoff_time < datetime.now()
return (response_count >= self.total_responses.page_limit() or
datetime.now() > self.request_cutoff_time)


def should_skip_bucket(path: str) -> bool:
Expand Down

0 comments on commit 5de0ac2

Please sign in to comment.