Skip to content

Commit

Permalink
Fixed string conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Endyya committed Dec 5, 2024
1 parent a70111f commit 88f7b15
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/SilicaAnimus/google_sheets_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async def get_spreadsheet(self):
self.sheets.values()
.get(
spreadsheetId=getenv("GOOGLE_SPREADSHEET_ID"),
range=f"{getenv("GOOGLE_SHEET_ID")}!A1:F1000",
range=f'{getenv("GOOGLE_SHEET_ID")}!A1:F1000',
)
.execute()
)
Expand Down Expand Up @@ -206,7 +206,7 @@ async def add_member(self, member_info: MemberInfo) -> bool:
self.sheets.values()
.append(
spreadsheetId=getenv("GOOGLE_SPREADSHEET_ID"),
range=f"{getenv("GOOGLE_SHEET_ID")}!A1",
range=f'{getenv("GOOGLE_SHEET_ID")}!A1',
valueInputOption="USER_ENTERED",
body=body,
)
Expand All @@ -224,7 +224,7 @@ async def add_member(self, member_info: MemberInfo) -> bool:
self.sheets.values()
.update(
spreadsheetId=getenv("GOOGLE_SPREADSHEET_ID"),
range=f"{getenv("GOOGLE_SHEET_ID")}!A{member_sheet_row}:F{member_sheet_row}",
range=f'{getenv("GOOGLE_SHEET_ID")}!A{member_sheet_row}:F{member_sheet_row}',
valueInputOption="USER_ENTERED",
body=body,
)
Expand Down Expand Up @@ -299,7 +299,7 @@ async def add_members(self, members_info: List[MemberInfo]) -> bool:
self.sheets.values()
.append(
spreadsheetId=getenv("GOOGLE_SPREADSHEET_ID"),
range=f"{getenv("GOOGLE_SHEET_ID")}!A1",
range=f'{getenv("GOOGLE_SHEET_ID")}!A1',
valueInputOption="USER_ENTERED",
body=body,
)
Expand Down

0 comments on commit 88f7b15

Please sign in to comment.