mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-12 22:42:13 +02:00
chore: ran linting
This commit is contained in:
parent
b9b4d0b377
commit
cd25175b84
14 changed files with 78 additions and 82 deletions
|
|
@ -90,7 +90,9 @@ def _has_zero_version(conn, table: str) -> bool:
|
|||
)
|
||||
|
||||
|
||||
def _build_publication_ddl(documents_has_zero_ver: bool, user_has_zero_ver: bool) -> str:
|
||||
def _build_publication_ddl(
|
||||
documents_has_zero_ver: bool, user_has_zero_ver: bool
|
||||
) -> str:
|
||||
doc_cols = DOCUMENT_COLS + (['"_0_version"'] if documents_has_zero_ver else [])
|
||||
user_cols = USER_COLS + (['"_0_version"'] if user_has_zero_ver else [])
|
||||
doc_col_list = ", ".join(doc_cols)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue