Module ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults vararg kwarg body Expr Str If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr BoolOpOr UnaryOpNot Call AttributeLoad NameLoad attr CompareIs Call AttributeLoad NameLoad attr NameLoad UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad If UnaryOpNot Call NameLoad NameLoad Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Dict AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return ListComp Dict Str Str Str Str Str SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num UnaryOpNot SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Dict Dict ListLoad Dict NameLoad ListLoad body Expr Str If AttributeLoad NameLoad attr body Return Assign NameStore BinOpAdd Str NameLoad Assign NameStore Dict Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str If CompareIn NameLoad NameLoad body Continue Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Str If BoolOpOr BoolOpAnd NameLoad CompareEq NameLoad NameLoad BoolOpAnd UnaryOpNot NameLoad CompareIn NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str body AugAssignAdd NameStore Str orelse If UnaryOpNot SubscriptLoad NameLoad Index Str body AugAssignAdd NameStore Str If BoolOpAnd CompareIn NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str CompareNotIn NameLoad NameLoad body AugAssignAdd NameStore Str If CompareIsNot SubscriptLoad NameLoad Index Str NameLoad body AugAssignAdd NameStore BinOpAdd Str SubscriptLoad NameLoad Index Str If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpOr BoolOpAnd NameLoad CompareEq NameLoad NameLoad BoolOpAnd UnaryOpNot NameLoad CompareIn NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str body AugAssignAdd NameStore Str If BoolOpAnd CompareIn NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str CompareNotIn NameLoad NameLoad body AugAssignAdd NameStore Str Assign SubscriptStore NameLoad Index NameLoad NameLoad For TupleStore NameStore TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd NameLoad CompareEq NameLoad NameLoad body AugAssignAdd NameStore Str Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr ListComp BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Dict Dict body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore ListComp SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr NameLoad NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr NameLoad NameLoad Assign NameStore ListLoad Assign NameStore ListLoad For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad orelse If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Continue Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Call AttributeLoad Str attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr GeneratorExp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore ListComp TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad NameLoad attr body If UnaryOpNot NameLoad body Continue Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Continue Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults ListLoad Dict ListLoad body For NameStore NameLoad body Assign NameStore ListLoad For NameStore NameLoad body If CompareIn NameLoad NameLoad body Assign NameStore ListLoad Break If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Assign NameStore Dict Str Str Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Dict NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad keyword ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Dict NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad Assert CompareEq Call NameLoad NameLoad Num Str Expr Call AttributeLoad NameLoad attr NameLoad keyword SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list decorator_list
N/A south.db generic DatabaseOperations N/A N/A generic DatabaseOperations N/A N/A 
    SQLite3 implementation of database operations.
     N/A backend_name sqlite3 N/A supports_foreign_keys False N/A has_check_constraints False N/A has_booleans False add_column N/A N/A self table_name name field N/A args kwds N/A N/A 
        Adds a column.
         N/A N/A N/A N/A field null N/A N/A N/A N/A field has_default N/A N/A N/A field get_default None N/A N/A field empty_strings_allowed N/A N/A N/A ValueError You cannot add a null=False column without a default value. N/A N/A N/A field set_attributes_from_name name N/A field_default None N/A N/A N/A getattr field _suppress_default False N/A N/A default N/A N/A field get_default N/A N/A default None N/A N/A field_default N/A '%s' N/A N/A field get_db_prep_save default connection N/A N/A self _get_connection N/A N/A field _suppress_default True N/A N/A N/A self _remake_table table_name added N/A N/A field column N/A N/A N/A self _column_sql_for_create table_name name field False field_default N/A _get_full_table_description N/A N/A self connection cursor table_name N/A N/A N/A N/A N/A cursor execute N/A PRAGMA table_info(%s) N/A N/A N/A connection ops quote_name table_name N/A N/A N/A name type null_ok dflt_value pk N/A field N/A 1 N/A field N/A 2 N/A N/A field N/A 3 N/A field N/A 4 N/A field N/A 5 N/A field N/A N/A cursor fetchall N/A _remake_table N/A N/A self table_name added renames deleted altered primary_key_override uniques_deleted N/A N/A N/A N/A N/A None N/A N/A N/A 
        Given a table and three sets of changes (renames, deletes, alters),
        recreates it with the modified schema.
         N/A N/A self dry_run N/A N/A N/A temp_name N/A _south_new_ table_name N/A definitions N/A N/A cursor N/A N/A N/A N/A self _get_connection cursor N/A indexes N/A N/A N/A N/A N/A self _get_connection introspection get_indexes cursor table_name N/A multi_indexes N/A N/A self _get_multi_indexes table_name N/A column_info N/A N/A self _get_full_table_description N/A N/A self _get_connection cursor table_name N/A N/A name N/A column_info N/A name N/A N/A name deleted N/A N/A N/A type N/A N/A N/A column_info N/A type replace PRIMARY KEY N/A N/A N/A primary_key_override N/A primary_key_override name N/A N/A primary_key_override N/A name indexes N/A N/A indexes N/A name N/A primary_key N/A N/A type  PRIMARY KEY N/A N/A N/A N/A column_info N/A null_ok N/A N/A type  NOT NULL N/A N/A N/A name indexes N/A N/A indexes N/A name N/A unique N/A name uniques_deleted N/A N/A type  UNIQUE N/A N/A N/A column_info N/A dflt_value None N/A N/A type N/A  DEFAULT  N/A column_info N/A dflt_value N/A N/A name renames N/A N/A name N/A renames N/A name N/A N/A definitions N/A name type N/A N/A name type N/A N/A altered items N/A N/A N/A N/A primary_key_override N/A primary_key_override name N/A N/A primary_key_override N/A name indexes N/A N/A indexes N/A name N/A primary_key N/A N/A type  PRIMARY KEY N/A N/A N/A name indexes N/A N/A indexes N/A name N/A unique N/A name uniques_deleted N/A N/A type  UNIQUE N/A N/A definitions N/A name type N/A N/A name N/A type _ N/A N/A added items N/A N/A N/A primary_key_override N/A primary_key_override name N/A N/A type  PRIMARY KEY N/A N/A definitions N/A name type N/A N/A N/A self execute N/A CREATE TABLE %s (%s) N/A N/A N/A self quote_name temp_name N/A N/A ,  join N/A N/A %s %s N/A N/A N/A self quote_name cname ctype N/A N/A cname ctype N/A N/A definitions items N/A N/A N/A self _copy_data table_name temp_name renames added N/A N/A N/A self delete_table table_name N/A N/A N/A self rename_table temp_name table_name N/A N/A N/A self _make_multi_indexes table_name multi_indexes renames renames deleted deleted uniques_deleted uniques_deleted N/A N/A generic invalidate_table_constraints _copy_data N/A N/A self src dst field_renames added N/A N/A N/A N/A N/A Used to copy data into a new table N/A cursor N/A N/A N/A N/A self _get_connection cursor N/A src_fields N/A N/A column_info N/A 0 N/A column_info N/A N/A N/A N/A N/A self _get_connection introspection get_table_description cursor src N/A dst_fields N/A N/A column_info N/A 0 N/A column_info N/A N/A N/A N/A N/A self _get_connection introspection get_table_description cursor dst N/A src_fields_new N/A N/A dst_fields_new N/A N/A field src_fields N/A N/A N/A field field_renames N/A N/A N/A N/A dst_fields_new append N/A N/A self quote_name N/A field_renames N/A field N/A N/A N/A field dst_fields N/A N/A N/A N/A dst_fields_new append N/A N/A self quote_name field N/A N/A N/A N/A N/A src_fields_new append N/A N/A self quote_name field N/A N/A field N/A _ default N/A N/A added items N/A N/A N/A default None N/A N/A field N/A N/A self quote_name field N/A N/A N/A src_fields_new append N/A %s as %s N/A default field N/A N/A N/A dst_fields_new append field N/A N/A N/A self execute N/A INSERT INTO %s (%s) SELECT %s FROM %s; N/A N/A N/A self quote_name dst N/A N/A ,  join dst_fields_new N/A N/A ,  join src_fields_new N/A N/A self quote_name src N/A _create_unique N/A N/A self table_name columns N/A N/A N/A N/A N/A self execute N/A CREATE UNIQUE INDEX %s ON %s(%s); N/A N/A N/A self quote_name N/A %s_%s N/A table_name N/A N/A __ join columns N/A N/A self quote_name table_name N/A N/A ,  join N/A N/A N/A self quote_name c N/A c columns N/A _get_multi_indexes N/A N/A self table_name N/A N/A N/A indexes N/A N/A cursor N/A N/A N/A N/A self _get_connection cursor N/A N/A N/A cursor execute N/A PRAGMA index_list(%s) N/A N/A self quote_name table_name N/A N/A index unique N/A N/A N/A field N/A 1 N/A field N/A 2 N/A field N/A N/A cursor fetchall N/A N/A N/A unique N/A N/A N/A N/A N/A cursor execute N/A PRAGMA index_info(%s) N/A N/A self quote_name index N/A info N/A N/A cursor fetchall N/A N/A N/A len info 1 N/A N/A N/A columns N/A N/A field info N/A N/A N/A N/A columns append N/A field N/A 2 N/A N/A N/A indexes append columns N/A indexes N/A _make_multi_indexes N/A N/A self table_name indexes deleted renames uniques_deleted N/A N/A N/A N/A N/A N/A index indexes N/A N/A columns N/A N/A name index N/A N/A N/A name deleted N/A N/A columns N/A N/A N/A N/A name renames N/A N/A name N/A renames N/A name N/A N/A N/A columns append name N/A N/A columns N/A N/A set columns N/A set uniques_deleted N/A N/A N/A N/A self _create_unique table_name columns N/A _column_sql_for_create N/A N/A self table_name name field explicit_name N/A True N/A N/A Given a field and its name, returns the full type for the CREATE TABLE (without unique/pk) N/A N/A N/A field set_attributes_from_name name N/A N/A explicit_name N/A N/A name N/A field db_column N/A N/A N/A field column name N/A sql N/A N/A self column_sql table_name name field with_name False field_prepared True N/A sql N/A N/A sql N/A N/A sql replace PRIMARY KEY N/A sql N/A alter_column N/A N/A self table_name name field explicit_name ignore_constraints N/A True False N/A N/A 
        Changes a column's SQL definition.

        Note that this sqlite3 implementation ignores the ignore_constraints argument.
        The argument is accepted for API compatibility with the generic
        DatabaseOperations.alter_column() method.
         N/A N/A N/A N/A field null N/A N/A field has_default N/A N/A params N/A column table_name N/A N/A self quote_name name N/A N/A self quote_name table_name N/A N/A N/A self _update_nulls_to_default params field N/A N/A field _suppress_default True N/A N/A N/A self _remake_table table_name altered N/A name N/A N/A self _column_sql_for_create table_name name field explicit_name N/A delete_column N/A N/A self table_name column_name N/A N/A N/A 
        Deletes a column.
         N/A N/A N/A self _remake_table table_name deleted N/A column_name N/A rename_column N/A N/A self table_name old new N/A N/A N/A 
        Renames a column from one name to another.
         N/A N/A N/A self _remake_table table_name renames N/A old new N/A create_unique N/A N/A self table_name columns N/A N/A N/A 
        Create an unique index on columns
         N/A N/A N/A self _create_unique table_name columns N/A delete_unique N/A N/A self table_name columns N/A N/A N/A 
        Delete an unique index
         N/A N/A N/A self _remake_table table_name uniques_deleted columns N/A create_primary_key N/A N/A self table_name columns N/A N/A N/A N/A N/A isinstance columns N/A list tuple N/A N/A columns N/A columns N/A N/A N/A len columns 1 SQLite backend does not support multi-column primary keys N/A N/A N/A self _remake_table table_name primary_key_override N/A columns N/A 0 N/A delete_primary_key N/A N/A self table_name N/A N/A N/A N/A N/A self _remake_table table_name primary_key_override True N/A delete_table N/A N/A self table_name cascade N/A True N/A N/A N/A N/A N/A generic DatabaseOperations delete_table self table_name False N/A N/A