Skip to content

Commit

Permalink
try fix flake
Browse files Browse the repository at this point in the history
  • Loading branch information
AstrakhantsevaAA committed Jan 4, 2024
1 parent 459e7a6 commit 0356072
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions docs/examples/archive/sources/google_sheets.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,14 @@ def google_spreadsheet(
# pprint.pprint(meta)
def get_sheet(sheet_name: str) -> Iterator[DictStrAny]:
# get list of list of typed values
result = (
sheets.spreadsheets()
.values()
.get(
result = sheets.spreadsheets().values().get(
spreadsheetId=spreadsheet_id,
range=sheet_name,
# unformatted returns typed values
valueRenderOption="UNFORMATTED_VALUE",
# will return formatted dates
dateTimeRenderOption="FORMATTED_STRING",
)
.execute()
)
).execute()

# pprint.pprint(result)
values = result.get("values")
Expand Down

0 comments on commit 0356072

Please sign in to comment.