【问题标题】:Smartsheet rows isnt updatingSmartsheet 行未更新
【发布时间】:2020-06-22 10:43:07
【问题描述】:
import smartsheet import pandas as pd     
smartsheet_client = smartsheet.Smartsheet(token) 
response = smartsheet_client.Sheets.list_sheets(include_all=True) 
sheet1 = response.data 
sheet = smartsheet_client.Sheets.get_sheet(int(id))
sheet.rows[7].cells[1].value = "updated done right"
print(sheet.rows[7].cells[1].value)

输出是:“更新完成正确” 但是当我刷新智能表时它不会在那里更新,为什么?

【问题讨论】:

    标签: python python-3.x smartsheet-api smartsheet-api-2.0


    【解决方案1】:

    您需要写回服务。这只会更新本地副本。您可以在 SDK 示例中找到如何执行此操作的示例:

    https://github.com/smartsheet-samples/python-read-write-sheet/blob/master/python-read-write-sheet.py

    【讨论】:

    • 答案的链接是明确可以接受的,但请提供一些关于它如何解决问题的上下文,例如以防将来链接断开。请考虑查看How to Answer
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-06-24
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多