Module Expr Str Assign NameStore Str Assign NameStore Str Import alias ImportFrom alias Import alias identifier ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr ListLoad Str ListLoad Str Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Continue Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr ListLoad NameLoad attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num If UnaryOpNot Call NameLoad NameLoad body Break Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str ListLoad Str keyword NameLoad decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list
N/A N/A use documentrecord

Revision ID: 601adc22db51
Revises: e34d28e9a167
Create Date: 2016-03-10 22:01:12.981702

 N/A revision 601adc22db51 N/A down_revision e34d28e9a167 N/A logging alembic op N/A sqlalchemy sa sqlalchemy.dialects postgresql N/A log N/A N/A logging getLogger __name__ upgrade N/A N/A N/A N/A N/A N/A N/A op create_table document_record N/A N/A sa Column id N/A N/A sa BigInteger nullable False N/A N/A sa Column sheet N/A N/A sa Integer nullable False N/A N/A sa Column row_id N/A N/A sa Integer nullable False N/A N/A sa Column data N/A N/A postgresql JSONB nullable True N/A N/A sa Column document_id N/A N/A sa Integer nullable True N/A N/A sa ForeignKeyConstraint N/A document_id N/A document.id N/A N/A sa PrimaryKeyConstraint id N/A bind N/A N/A op get_bind N/A meta N/A N/A sa MetaData N/A N/A meta bind bind N/A N/A N/A meta reflect N/A documents N/A N/A meta tables N/A document N/A records N/A N/A meta tables N/A document_record N/A N/A name table N/A N/A N/A meta tables items N/A N/A N/A N/A N/A name startswith tabular_ N/A N/A N/A N/A _ doc_hash sheet N/A N/A name split _ N/A q N/A N/A N/A N/A sa select N/A documents where N/A N/A N/A documents c content_hash doc_hash N/A rp N/A N/A bind execute q N/A doc N/A N/A rp fetchall N/A N/A N/A N/A log info Copy records from %r to doc %s name N/A doc id N/A irp N/A N/A bind execute N/A N/A sa select N/A table N/A True N/A N/A rows N/A N/A irp fetchmany 1000 N/A N/A N/A len rows N/A N/A N/A inserts N/A N/A row rows N/A N/A row N/A dict row N/A row_id N/A N/A row pop _id N/A N/A N/A inserts append N/A document_id sheet row_id data N/A doc id N/A int sheet row_id row N/A N/A N/A bind execute N/A N/A records insert inserts N/A N/A N/A op create_index N/A N/A op f ix_document_record_doc document_record N/A document_id unique False N/A downgrade N/A N/A N/A N/A N/A N/A N/A op drop_table document_record N/A