Skip to content

Commit

Permalink
Bug fix: handle tables with incomplete schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-village committed Apr 5, 2024
1 parent e83e2cc commit f1f7d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_airtable/services/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def _find_selected_columns(cls, schema):
def _find_column(cls, col, meta_data):
for m in meta_data:
if "breadcrumb" in m and "properties" in m["breadcrumb"] and m["breadcrumb"][1] == col:
return m["metadata"]["real_name"]
return m["metadata"].get("real_name", "____undefined_col____")

@classmethod
def run_sync(cls, config, properties):
Expand Down

0 comments on commit f1f7d54

Please sign in to comment.