Module Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad Call NameLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad Call NameLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Num If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body AugAssignAdd NameStore AttributeLoad NameLoad attr If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body AugAssignAdd NameStore AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore TupleLoad Num NameLoad For NameStore Call AttributeLoad Call NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareGt NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword Str keyword NameLoad Return Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryFinally body TryExcept body Expr Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad finalbody Expr Call AttributeLoad Call NameLoad attr NameLoad decorator_list NameLoad decorator_list
N/A N/A logging aleph process aleph.core db get_archive aleph.ext get_ingestors aleph.model Document aleph.analyze analyze_document N/A log N/A N/A logging getLogger __name__ Ingestor N/A object N/A N/A DOCUMENT_TYPE N/A Document TYPE_OTHER N/A MIME_TYPES N/A N/A EXTENSIONS N/A N/A BASE_SCORE 5 __init__ N/A N/A self source_id N/A N/A N/A N/A self source_id source_id N/A ingest N/A N/A self meta local_path N/A N/A N/A N/A NotImplemented N/A create_document N/A N/A self meta type N/A None N/A N/A N/A meta content_hash N/A N/A q N/A N/A Document all N/A N/A meta foreign_id N/A N/A q N/A N/A q filter N/A N/A Document foreign_id N/A meta foreign_id N/A N/A q N/A N/A q filter N/A N/A Document content_hash N/A meta content_hash N/A q N/A N/A q filter N/A N/A Document source_id N/A self source_id N/A document N/A N/A q first N/A N/A document None N/A N/A document N/A Document N/A N/A document source_id N/A self source_id N/A N/A document meta meta N/A N/A document type N/A type N/A self DOCUMENT_TYPE N/A N/A N/A N/A db session add document N/A N/A N/A N/A db session flush N/A document N/A emit N/A N/A self document N/A N/A N/A N/A N/A N/A db session commit N/A N/A N/A log debug Ingested document: %r document N/A N/A analyze_document N/A document id N/A log_error N/A N/A self meta error_type error_message error_details N/A None None None N/A N/A N/A N/A process log N/A process INGEST component N/A N/A type self __name__ source_id N/A self source_id meta meta error_type error_type error_message error_message error_details error_details N/A log_exception N/A N/A self meta exception N/A N/A N/A N/A N/A process exception N/A process INGEST component N/A N/A type self __name__ source_id N/A self source_id meta meta exception exception N/A match N/A N/A cls meta local_path N/A N/A N/A score -1 N/A N/A N/A meta mime_type N/A cls MIME_TYPES N/A N/A score N/A cls BASE_SCORE N/A N/A N/A meta extension N/A cls EXTENSIONS N/A N/A score N/A cls BASE_SCORE N/A score N/A classmethod auction_file N/A N/A cls meta local_path N/A N/A N/A N/A best_score best_cls N/A 0 None N/A cls N/A N/A N/A get_ingestors values N/A N/A score N/A N/A cls match meta local_path N/A N/A score best_score N/A N/A best_score score N/A best_cls cls N/A best_cls N/A classmethod dispatch N/A N/A cls source_id meta N/A N/A N/A local_path N/A N/A N/A get_archive load_file meta N/A best_cls N/A N/A cls auction_file meta local_path N/A N/A best_cls None N/A N/A message N/A No ingestor found: %r N/A meta file_name N/A N/A N/A process log N/A process INGEST component N/A cls __name__ meta meta source_id source_id error_type NoIngestorFound error_message message N/A N/A N/A N/A log debug Dispatching %r to %r N/A meta file_name N/A best_cls __name__ N/A N/A N/A N/A N/A N/A N/A N/A best_cls source_id ingest meta local_path N/A N/A N/A Exception N/A ex N/A N/A N/A N/A log exception ex N/A N/A N/A process exception N/A process INGEST component N/A best_cls __name__ exception ex meta meta source_id source_id N/A N/A N/A N/A N/A get_archive cleanup_file meta N/A classmethod N/A