Skip to content

Commit 43cad3d

Browse files
authored
Update airtable_importer_settings.py
- instead of having twice links =, changed to a comment - improved explanations
1 parent ce017fc commit 43cad3d

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

demo/airtable_importer_settings.py

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,25 @@
11
"""
2-
How to get Airtable api key: https://support.airtable.com/hc/en-us/articles/360056249614-Creating-a-read-only-API-key
3-
How to get Airtable base id: https://support.airtable.com/hc/en-us/articles/360053709993-Connecting-Salesforce-to-Airtable-via-the-REST-API
2+
How to get the api key from Airtable: https://support.airtable.com/hc/en-us/articles/360056249614-Creating-a-read-only-API-key
3+
How to get the base id from Airtable: https://support.airtable.com/hc/en-us/articles/360053709993-Connecting-Salesforce-to-Airtable-via-the-REST-API
44
"""
55

66

7-
# Base
7+
# SeaTable
88
server_url = 'https://cloud.seatable.io'
9-
api_token = 'seatable api token'
9+
api_token = 'seatable api token (from the target base)'
1010

1111

1212
# Airtable
1313
airtable_api_key = 'airtable api key'
1414
airtable_base_id = 'airtable base id'
1515

1616

17-
# table names in Airtable
17+
# table names in Airtable [('name_of_table_1', 'name_of_table_2', '...'])
1818
table_names = ['Design projects', 'Tasks', 'Clients']
1919

2020

21-
# no links in Airtable
22-
links = []
23-
24-
2521
# links in Airtable: [('table_name', 'column_name', 'other_table_name')]
22+
# if there are no links in all tables, you still have to provide "links = []"
2623
links = [
2724
('Design projects', 'Client', 'Clients'),
2825
('Design projects', 'Tasks', 'Tasks'),

0 commit comments

Comments
 (0)