-
Notifications
You must be signed in to change notification settings - Fork 8
Improve Airtable import #99
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
Conversation
Options are read directly from the schema using Airtable's API
Required by SeaTable's API
|
Hi, I tested the script and it cannot import data from Airtable. |
Hi,
Where does it say that the API is deprecated? It only says that the documentation has moved and is now available at https://airtable.com/developers/web/api/introduction (or more specifically, https://airtable.com/developers/web/api/get-base-schema). |
|
I also added another commit (9f585ac) which ensures that table names are properly encoded before being sent to Airtable's API. This fixes a recent issue by one of our customers who tried to migrate a base that contained table names with slashes. |
|
Sorry, it was my mistake. It can import data after adding |
|
@SkywalkerSpace Thank you! Can you create a new release on PyPI? |
Improvements
schema.bases:readscope(table_name, column_name)I also commented out two
sleep()statements since Airtable's API seems to be quite slow and I never hit a rate limit. Using a library likerequests-ratelimitermight be a more robust option to a) prevent rate limits and b) prevent the migration process from being unnecessarily slow.