1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-22 04:54:18 +00:00

Making docgen happy

This commit is contained in:
Lorenzo Balugani 2021-05-28 16:16:09 +02:00
parent 6e682309d4
commit 8a6821f523

View file

@ -5,13 +5,13 @@ from nest_backend.gestione import *
import datetime import datetime
from flask_cors import cross_origin from flask_cors import cross_origin
from nest_backend.errors import * from nest_backend.errors import *
import nest_backend.app
from nest_crawler.repo_search import search_repo_conditions from nest_crawler.repo_search import search_repo_conditions
import threading import threading
def tweet_importer(rid): def tweet_importer(rid):
import nest_backend.app
with nest_backend.app.app.app_context(): with nest_backend.app.app.app_context():
search_repo_conditions(rid) search_repo_conditions(rid)