Module Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore TupleLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad Call AttributeLoad NameLoad attr attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Yield AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore TupleLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad Call AttributeLoad NameLoad attr attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Yield AttributeLoad NameLoad attr With Call AttributeLoad Call AttributeLoad NameLoad attr attr NameStore body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Yield AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore TupleLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad Call AttributeLoad NameLoad attr attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Yield AttributeLoad NameLoad attr With Call AttributeLoad Call AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Yield AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A stdnet stdnet odm FieldError stdnet.utils test examples.models Parent Child TestForeignKey N/A N/A test TestCase N/A N/A models N/A Parent Child test_custom_pk N/A N/A self N/A N/A N/A models N/A self mapper N/A parent N/A N/A N/A N/A models parent new name test N/A N/A N/A self assertEqual N/A N/A parent pkvalue test N/A N/A N/A self assertEqual N/A N/A N/A parent pk name name N/A test_add_parent_and_child N/A N/A self N/A N/A N/A models N/A self mapper N/A N/A N/A N/A N/A models session begin t N/A N/A parent N/A N/A models parent name test2 N/A child N/A N/A models child parent parent name foo N/A N/A N/A self assertEqual N/A child parent parent N/A N/A N/A self assertEqual N/A child parent_id N/A N/A parent pkvalue N/A N/A N/A t add parent N/A N/A N/A t add child N/A N/A N/A t on_result N/A N/A TestQuery N/A N/A test TestCase N/A N/A models N/A Parent Child test_non_id_pk N/A N/A self N/A N/A N/A 
        Models with non-'id' primary keys should be queryable (regression test)

         N/A models N/A self mapper N/A N/A N/A N/A N/A models session begin t N/A N/A parent N/A N/A models parent name test2 N/A child N/A N/A models child parent parent name foo N/A N/A N/A t add parent N/A N/A N/A t add child N/A N/A N/A t on_result N/A N/A N/A N/A N/A models session begin t N/A N/A parents N/A N/A N/A N/A t query Parent all N/A N/A N/A self assertEqual N/A len parents 1 N/A N/A N/A t on_result N/A N/A TestManyToMany N/A N/A test TestCase N/A N/A models N/A Parent Child test_non_id_pk N/A N/A self N/A N/A N/A 
        Models with non-'id' primary keys should be queryable from a ManyToMany
        relation (regression test)

         N/A models N/A self mapper N/A N/A N/A N/A N/A models session begin t N/A N/A parent N/A N/A models parent name test2 N/A uncle N/A N/A models parent name test3 N/A child N/A N/A models child parent parent name foo N/A N/A N/A t add parent N/A N/A N/A t add uncle N/A N/A N/A t add child N/A N/A N/A t on_result N/A N/A N/A N/A N/A models session begin t N/A N/A N/A N/A N/A child uncles add uncle N/A N/A N/A self assertEqual N/A len N/A N/A N/A child uncles all 1 N/A N/A N/A t on_result N/A N/A