File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ entrypoints:
3131 config :
3232 normalized_docs_DB_TABLE : null
3333 normalized_docs_DB_DSN : null
34+ normalized_docs_DB_SCHEMA : null
3435 description : Database Output, containing bib_id aswell as the normalized text
3536 type : database_table
3637 normalized_overwritten_file_output :
@@ -73,6 +74,7 @@ entrypoints:
7374 config :
7475 normalized_docs_DB_TABLE : null
7576 normalized_docs_DB_DSN : null
77+ normalized_docs_DB_SCHEMA : null
7678 description : Database Output, containing bib_id aswell as the normalized text
7779 type : database_table
7880 normalized_overwritten_file_output :
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ def _write_preprocessed_docs_to_postgres(
9696 len (df ),
9797 settings .DB_TABLE ,
9898 )
99- db = PandasDatabaseOperations (settings .DB_DSN )
99+ db = PandasDatabaseOperations (settings .DB_DSN , settings . DB_SCHEMA )
100100 db .write (table = settings .DB_TABLE , data = df )
101101
102102 logger .info (
Original file line number Diff line number Diff line change 1- scystream-sdk [database,postgres ]== 1.4 .0
1+ scystream-sdk [database,postgres ]== 1.5 .0
22spacy == 3.8.7
33nltk == 3.9.1
44bibtexparser == 1.4.3
You can’t perform that action at this time.
0 commit comments