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

Suddenly getting AttributeError, TypeError, etc.? #408

Closed
mesozoic opened this issue Nov 16, 2024 · 0 comments
Closed

Suddenly getting AttributeError, TypeError, etc.? #408

mesozoic opened this issue Nov 16, 2024 · 0 comments

Comments

@mesozoic
Copy link
Collaborator

The 3.0 release of this library introduced a number of breaking changes in the API. We've written a migration guide here: https://pyairtable.readthedocs.io/en/3.0.0/migrations.html

If you see errors like this:

  • 'Table' object has no attribute 'url'
  • 'Base' object has no attribute 'webhooks_url'
  • 'Model' object has no attribute 'get_model'

...or something like it, then you probably have an unpinned dependency in your project. You should update your project's dependencies to be pinned to version 2.x until you have a chance to upgrade. Whether you use setuptools, pipenv, poetry, or just requirements.txt, a version specifier like pyairtable~=2 or pyairtable>=2,<3 should ensure you stay on a compatible version until you're ready to upgrade.

(This issue should remain open and pinned to the top of the issues list for some time after the 3.0 release.)

@mesozoic mesozoic pinned this issue Nov 16, 2024
Repository owner locked as off-topic and limited conversation to collaborators Nov 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant