8000 AttributeError: 'dict' object has no attribute 'upsert_rows' · Issue #54 · licht1stein/codaio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
AttributeError: 'dict' object has no attribute 'upsert_rows' #54
Open
@lukepighetti

Description

@lukepighetti

Docs appear to show that you can get a table and then run operations on it. Source doesn't show this functionality, and it doesn't work in practice https://github.com/Blasterai/codaio#upserting-multiple-new-rows

coda = Coda(codaApiToken)
table = coda.get_table(docId, tableId)

table.upsert_rows([
    [Cell(column='Name', value_storage='name'),]
    [Cell(column='Name', value_storage='name'),]
    [Cell(column='Name', value_storage='name'),]
    [Cell(column='Name', value_storage='name'),]
])

Traceback (most recent call last):
  File "/Users/lukepighetti/main.py", line 30, in <module> table.upsert_rows([
AttributeError: 'dict' object has no attribute 'upsert_rows'
$ conda run pip list | grep codaio
codaio                        0.6.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0