Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults kwarg body Expr Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str Assign NameStore Num Expr Call NameLoad Str For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad BinOpMod Str NameLoad Expr Call NameLoad BinOpMod Str NameLoad If CompareEq BinOpMod NameLoad NameLoad Num body Print BinOpMod Str NameLoad Expr Call NameLoad Str Expr Call NameLoad Str decorator_list decorator_list
N/A django.core.management.base BaseCommand mturk.main.management.commands.db_update_agregates update_crawl_agregates django.conf settings utils.sql execute_sql N/A os Command N/A BaseCommand N/A handle N/A N/A self N/A options N/A N/A N/A update_crawl_agregates only_new False N/A f N/A open N/A N/A N/A os path join N/A settings ROOT_PATH crawl.errors.csv rb N/A progress 10 N/A N/A execute_sql update main_crawl set success = true where old_id is not null N/A N/A i id N/A enumerate f N/A N/A id N/A N/A id strip N/A N/A execute_sql N/A delete from main_crawlagregates where crawl_id = (select id from main_crawl where old_id = %s) id N/A N/A execute_sql N/A update main_crawl set success = false where old_id = %s id N/A N/A N/A i progress 0 N/A N/A N/A processed %s rows i N/A N/A execute_sql commit; N/A N/A execute_sql commit; N/A N/A