Skip to content

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
richardscholtens authored and mwatts15 committed Feb 10, 2024
1 parent c8a95d1 commit 99f4689
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rdflib_sqlalchemy/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ def union_select(select_components, distinct=False, select_type=TRIPLE_SELECT):
expression.literal_column("NULL").label("objdatatype")]).where(
whereClause)
elif tableType == ASSERTED_NON_TYPE_PARTITION:
all_table_columns = [c for c in table.columns] + [expression.literal_column("NULL").label("objlanguage"), expression.literal_column("NULL").label("objdatatype")]
all_table_columns = [c for c in table.columns] + \
[expression.literal_column("NULL").label("objlanguage"),
expression.literal_column("NULL").label("objdatatype")]
if whereClause is not None:
select_clause = expression.select(*all_table_columns).select_from(table).where(whereClause)
else:
Expand Down

0 comments on commit 99f4689

Please sign in to comment.