Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'dict' object has no attribute 'upsert_rows' #54

Open
lukepighetti opened this issue May 12, 2022 · 2 comments
Open

AttributeError: 'dict' object has no attribute 'upsert_rows' #54

lukepighetti opened this issue May 12, 2022 · 2 comments

Comments

@lukepighetti
Copy link

lukepighetti commented May 12, 2022

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
@den200
Copy link

den200 commented Jun 6, 2023

Same issue here.. Has there been a work around?

@licht1stein
Copy link
Owner

Not unless somebody submits a PR. It's not a paid job :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants