Skip to content

Commit

Permalink
replace f-strings with format
Browse files Browse the repository at this point in the history
  • Loading branch information
alifeee committed Nov 2, 2023
1 parent 933fc1b commit 67141a1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gspread/worksheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ def get_records( # noqa: C901 # this comment disables the complexity check for
)

keys = self.get_values(
f"{head}:{head}", value_render_option=value_render_option
"{head}:{head}".format(head=head), value_render_option=value_render_option
)[0]

if expected_headers is None:
Expand All @@ -690,7 +690,9 @@ def get_records( # noqa: C901 # this comment disables the complexity check for
)

values = self.get_values(
f"{first_index}:{last_index}",
"{first_index}:{last_index}".format(
first_index=first_index, last_index=last_index
),
value_render_option=value_render_option,
)

Expand Down

0 comments on commit 67141a1

Please sign in to comment.