Module ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias alias alias Assign NameStore Call NameLoad TupleLoad Str Str Str Dict Str Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body Assign NameStore ListLoad Assign NameStore ListLoad Call NameLoad Str Str Call NameLoad Str Str Call NameLoad Str Str Call NameLoad Str Str Call NameLoad Str Str Call NameLoad Str Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str keyword NameLoad Call AttributeLoad NameLoad attr Str keyword NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list
N/A __future__ unicode_literals django.db models migrations corehq.form_processor.models XFormInstanceSQL XFormOperationSQL CaseTransaction corehq.sql_db.operations HqRunSQL RawSQLMigration noop_migration N/A migrator N/A RawSQLMigration N/A corehq sql_accessors sql_templates N/A FORM_STATE_ARCHIVED FORM_STATE_NORMAL FORM_OPERATION_ARCHIVE FORM_OPERATION_UNARCHIVE TRANSACTION_TYPE_LEDGER TRANSACTION_TYPE_FORM N/A XFormInstanceSQL ARCHIVED N/A XFormInstanceSQL NORMAL N/A XFormOperationSQL ARCHIVE N/A XFormOperationSQL UNARCHIVE N/A CaseTransaction TYPE_LEDGER N/A CaseTransaction TYPE_FORM Migration N/A N/A migrations Migration N/A N/A dependencies N/A N/A operations N/A N/A HqRunSQL DROP FUNCTION IF EXISTS deprecate_form(TEXT, TEXT, TIMESTAMP) SELECT 1 N/A HqRunSQL DROP FUNCTION IF EXISTS save_new_form_with_attachments(form_processor_xforminstancesql, form_processor_xformattachmentsql[]) SELECT 1 N/A HqRunSQL 
            DROP FUNCTION IF EXISTS save_case_and_related_models(
                form_processor_commcarecasesql,
                form_processor_casetransaction[],
                form_processor_commcarecaseindexsql[],
                form_processor_caseattachmentsql[],
                INTEGER[],
                INTEGER[]
            )
             SELECT 1 N/A HqRunSQL 
            DROP FUNCTION IF EXISTS save_new_form_and_related_models(
            form_processor_xforminstancesql,
            form_processor_xformattachmentsql[],
            form_processor_xformoperationsql[]
            )
             SELECT 1 N/A HqRunSQL DROP FUNCTION IF EXISTS revoke_restore_case_transactions_for_form(TEXT, BOOLEAN) SELECT 1 N/A HqRunSQL DROP FUNCTION IF EXISTS get_form_ids_in_domain(text, text); SELECT 1 N/A N/A migrator get_migration archive_unarchive_form.sql N/A N/A migrator get_migration case_modified_since.sql N/A N/A migrator get_migration check_form_exists.sql N/A N/A migrator get_migration get_case_attachments.sql N/A N/A migrator get_migration get_case_by_id.sql N/A N/A migrator get_migration get_case_by_location_id.sql N/A N/A migrator get_migration get_case_form_ids.sql N/A N/A migrator get_migration get_case_ids_in_domain.sql N/A N/A migrator get_migration get_case_indices.sql N/A N/A migrator get_migration get_case_indices_reverse.sql N/A N/A migrator get_migration get_case_transactions.sql N/A N/A migrator get_migration get_cases_by_id.sql N/A N/A migrator get_migration get_form_attachment_by_name.sql N/A N/A migrator get_migration get_form_attachments.sql N/A N/A migrator get_migration get_form_by_id.sql N/A N/A migrator get_migration delete_all_forms.sql testing_only True N/A N/A migrator get_migration delete_all_cases.sql testing_only True N/A N/A migrator get_migration get_form_operations.sql N/A N/A migrator get_migration get_forms_by_id.sql N/A N/A migrator get_migration get_forms_by_state.sql N/A N/A migrator get_migration get_multiple_cases_indices.sql N/A N/A migrator get_migration get_multiple_forms_attachments.sql N/A N/A migrator get_migration get_reverse_indexed_cases.sql N/A N/A migrator get_migration hard_delete_cases.sql N/A N/A migrator get_migration hard_delete_forms.sql N/A N/A migrator get_migration revoke_restore_case_transactions_for_form.sql N/A N/A migrator get_migration save_case_and_related_models.sql N/A N/A migrator get_migration save_new_form_and_related_models.sql N/A N/A migrator get_migration update_form_problem_and_state.sql N/A