Skip to content

Commit

Permalink
Update tables
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed Jun 6, 2023
1 parent 9a34790 commit f811624
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 63 deletions.
2 changes: 1 addition & 1 deletion catalog/utilities/media_props_gen/column_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def format_python_column(
) -> str:
col_type = python_column.pop("python_type")
start, end = python_column_lines[col_type]
python_column_string = f"[{col_type}]({COLUMNS_URL}#L{start}-L{end})("
python_column_string = f"[{col_type}]({COLUMNS_URL}#L{start}-L{end}) ("
col_name = python_column.pop("name")
if col_name != column_db_name:
python_column_string += f"name='{col_name}', "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def generate_media_props_table(media_properties) -> str:
else f"{field_sql.datatype} {field_sql.constraint}"
)
table += (
f"| {field_name} | {field_sql.nullable} | "
f"| `{field_name}` | {field_sql.nullable} | "
f"{field_db_type} | {field.get('python_column', '')} | "
f"{media_docs.get(field_name) or ''}\n"
)
Expand Down
Loading

0 comments on commit f811624

Please sign in to comment.