diff --git a/gargantext/util/toolchain/parsing.py b/gargantext/util/toolchain/parsing.py index bd04b5fb22f608bafa8621a362c85f9a6d4d2e99..14c0357f4988a15773c9abf95a12f27cd2e1a61b 100644 --- a/gargantext/util/toolchain/parsing.py +++ b/gargantext/util/toolchain/parsing.py @@ -127,8 +127,8 @@ def parse(corpus): hyperdata = hyperdata, ) #corpus.save_hyperdata() - session.add(document) - session.commit() + # session.add(document) + # session.commit() if "error" in hyperdata.keys(): #document.status("error") @@ -142,8 +142,8 @@ def parse(corpus): if documents_count % BATCH_PARSING_SIZE == 0: corpus.status('Docs', progress=documents_count) corpus.save_hyperdata() - session.add(corpus) - session.commit() + #session.add(corpus) + #session.commit() # update info about the resource