Skip to content

Commit df10b98

Browse files
committed
update scystream to 1.5
1 parent 2ecaeee commit df10b98

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

cbc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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:

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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(

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
scystream-sdk[database,postgres]==1.4.0
1+
scystream-sdk[database,postgres]==1.5.0
22
spacy==3.8.7
33
nltk==3.9.1
44
bibtexparser==1.4.3

0 commit comments

Comments
 (0)