Skip to content

Commit

Permalink
appending new rows
Browse files Browse the repository at this point in the history
  • Loading branch information
mythilytm committed Jul 23, 2024
1 parent 9cccd9f commit af99b21
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions update_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ def main():
sheet = client.open_by_key("1UccoRr51TiQR6tUsq3SrNsP9FVm0tMfhdWX7VvHXkbQ").worksheet("DeploymentMatrix")
print("Google Sheet opened successfully.")

# Update the sheets
# Assuming 'sheet' is your worksheet object
new_row_data = ["Data1", "Data2", "Data3"] # Add your data for the new row here
update_response = sheet.append_row(new_row_data) # Capture the response
new_row_data = ["Data1", "Data2", "Data3"]
update_response = sheet.append_row(new_row_data)
print("Sheet update response")

# Verify update response
Expand Down

0 comments on commit af99b21

Please sign in to comment.