SYMBOL INDEX (180 symbols across 16 files) FILE: noxfile.py function lint (line 52) | def lint(session): function parametrize_test_versions (line 61) | def parametrize_test_versions(): function install_dependencies (line 99) | def install_dependencies(session, session_name, sqlalchemy_version): function test (line 110) | def test(session, sqlalchemy): function doctest (line 132) | def doctest(session, sqlalchemy): function dev (line 139) | def dev(session): function build (line 152) | def build(session): FILE: setup.py function read (line 8) | def read(name): FILE: sqlalchemy_mptt/events.py function _insert_subtree (line 25) | def _insert_subtree( function _get_tree_table (line 73) | def _get_tree_table(mapper): function mptt_before_insert (line 79) | def mptt_before_insert(mapper, connection, instance): function mptt_before_delete (line 135) | def mptt_before_delete(mapper, connection, instance, delete=True): function mptt_before_update (line 189) | def mptt_before_update(mapper, connection, instance): class _WeakDefaultDict (line 434) | class _WeakDefaultDict(weakref.WeakKeyDictionary): method __getitem__ (line 438) | def __getitem__(self, key): class TreesManager (line 446) | class TreesManager(object): method __init__ (line 450) | def __init__(self, base_class): method register_events (line 455) | def register_events(self, remove=False): method register_factory (line 468) | def register_factory(self, sessionmaker): method before_insert (line 509) | def before_insert(self, mapper, connection, instance): method before_update (line 514) | def before_update(self, mapper, connection, instance): method before_delete (line 519) | def before_delete(self, mapper, connection, instance): method after_flush_postexec (line 524) | def after_flush_postexec(self, session, context): method get_parent_value (line 548) | def get_parent_value(instance): method expire_session_for_children (line 552) | def expire_session_for_children(session, instance): FILE: sqlalchemy_mptt/mixins.py class BaseNestedSets (line 30) | class BaseNestedSets(object): method __declare_first__ (line 77) | def __declare_first__(cls): method get_default_level (line 81) | def get_default_level(cls): method get_pk_name (line 89) | def get_pk_name(cls): method get_pk_column (line 93) | def get_pk_column(cls): method get_pk_value (line 96) | def get_pk_value(self): method tree_id (line 100) | def tree_id(cls): method parent_id (line 104) | def parent_id(cls): method parent (line 118) | def parent(self): method left (line 132) | def left(cls): method right (line 136) | def right(cls): method level (line 140) | def level(cls): method is_ancestor_of (line 144) | def is_ancestor_of(self, other, inclusive=False): method is_descendant_of (line 166) | def is_descendant_of(self, other, inclusive=False): method move_inside (line 177) | def move_inside(self, parent_id): method move_after (line 190) | def move_after(self, node_id): method move_before (line 200) | def move_before(self, node_id): method leftsibling_in_level (line 217) | def leftsibling_in_level(self): method _node_to_dict (line 238) | def _node_to_dict(cls, node, json, json_fields): method _base_query (line 252) | def _base_query(cls, session=None): method _base_query_obj (line 255) | def _base_query_obj(self, session=None): method _base_order (line 261) | def _base_order(cls, query, order=asc): method get_tree (line 269) | def get_tree(cls, session=None, json=False, json_fields=None, query=No... method _drilldown_query (line 329) | def _drilldown_query(self, nodes=None): method drilldown_tree (line 335) | def drilldown_tree(self, session=None, json=False, json_fields=None): method path_to_root (line 372) | def path_to_root(self, session=None, order=desc): method get_siblings (line 404) | def get_siblings(self, include_self=False, session=None): method get_children (line 445) | def get_children(self, session=None): method rebuild_tree (line 482) | def rebuild_tree(cls, session, tree_id): method rebuild (line 534) | def rebuild(cls, session, tree_id=None): FILE: sqlalchemy_mptt/sqlalchemy_compat.py class LegacySQLAlchemyAPI (line 10) | class LegacySQLAlchemyAPI: method declarative_base (line 14) | def declarative_base(*args, **kwargs): method select (line 19) | def select(*args, **kwargs): method case (line 23) | def case(*args, **kwargs): method get (line 27) | def get(session, model, id): class ModernSQLAlchemyAPI (line 31) | class ModernSQLAlchemyAPI: method declarative_base (line 35) | def declarative_base(*args, **kwargs): method select (line 40) | def select(*args, **kwargs): method case (line 44) | def case(*args, **kwargs): method get (line 48) | def get(session, model, id): FILE: sqlalchemy_mptt/tests/__init__.py function failures_expected_on (line 59) | def failures_expected_on(*, sqlalchemy_versions=[], python_versions=[]): class DatabaseSetupMixin (line 79) | class DatabaseSetupMixin(BaseType): method setUp (line 82) | def setUp(self): method tearDown (line 90) | def tearDown(self): class Fixtures (line 97) | class Fixtures(object): method __init__ (line 98) | def __init__(self, session): method add (line 101) | def add(self, model, fixtures): class TreeTestingMixin (line 112) | class TreeTestingMixin( method catch_queries (line 126) | def catch_queries(self, conn, cursor, statement, *args): method start_query_counter (line 129) | def start_query_counter(self): method stop_query_counter (line 135) | def stop_query_counter(self): method setUp (line 140) | def setUp(self): method test_session_expire_for_move_after_to_new_tree (line 156) | def test_session_expire_for_move_after_to_new_tree(self): FILE: sqlalchemy_mptt/tests/cases/edit_node.py class Changes (line 1) | class Changes(object): method test_update_wo_move (line 3) | def test_update_wo_move(self): method test_update_wo_move_like_sacrud_save (line 53) | def test_update_wo_move_like_sacrud_save(self): method test_insert_node (line 100) | def test_insert_node(self): method test_insert_node_near_subtree (line 160) | def test_insert_node_near_subtree(self): method test_insert_after_node (line 220) | def test_insert_after_node(self): method test_delete_node (line 223) | def test_delete_node(self): method test_update_node (line 278) | def test_update_node(self): method test_rebuild (line 460) | def test_rebuild(self): FILE: sqlalchemy_mptt/tests/cases/get_node.py class GetNodes (line 10) | class GetNodes(object): method test_get_siblings (line 11) | def test_get_siblings(self): method test_get_children (line 53) | def test_get_children(self): FILE: sqlalchemy_mptt/tests/cases/get_tree.py function get_obj (line 4) | def get_obj(session, model, id): class Tree (line 8) | class Tree(object): method test_get_empty_tree (line 10) | def test_get_empty_tree(self): method test_get_empty_tree_with_custom_query (line 19) | def test_get_empty_tree_with_custom_query(self): method test_get_tree (line 27) | def test_get_tree(self): method test_get_tree_count_query (line 67) | def test_get_tree_count_query(self): method test_get_json_tree (line 85) | def test_get_json_tree(self): method test_get_json_tree_with_custom_field (line 126) | def test_get_json_tree_with_custom_field(self): method test_leftsibling_in_level (line 185) | def test_leftsibling_in_level(self): method test_drilldown_tree (line 236) | def test_drilldown_tree(self): method test_drilldown_tree_without_session (line 270) | def test_drilldown_tree_without_session(self): method test_path_to_root (line 288) | def test_path_to_root(self): FILE: sqlalchemy_mptt/tests/cases/initialize.py class Initialize (line 4) | class Initialize(object): method test_tree_orm_initialize (line 6) | def test_tree_orm_initialize(self): method test_flush_with_transient_nodes_present (line 56) | def test_flush_with_transient_nodes_present(self): method test_tree_initialize (line 71) | def test_tree_initialize(self): FILE: sqlalchemy_mptt/tests/cases/integrity.py class DataIntegrity (line 11) | class DataIntegrity(object): method test_left_is_always_less_than_right (line 13) | def test_left_is_always_less_than_right(self): method test_lowest_left_is_always_1 (line 26) | def test_lowest_left_is_always_1(self): method test_greatest_right_is_always_double_number_of_nodes (line 39) | def test_greatest_right_is_always_double_number_of_nodes(self): method test_right_minus_left_always_odd (line 55) | def test_right_minus_left_always_odd(self): method test_level_odd_when_left_odd_and_vice_versa (line 70) | def test_level_odd_when_left_odd_and_vice_versa(self): method test_left_and_right_always_unique_number (line 87) | def test_left_and_right_always_unique_number(self): method test_hierarchy_structure (line 96) | def test_hierarchy_structure(self): FILE: sqlalchemy_mptt/tests/cases/move_node.py class MoveBefore (line 11) | class MoveBefore(object): method test_move_before_to_top_level (line 13) | def test_move_before_to_top_level(self): method test_move_one_tree_before_another (line 76) | def test_move_one_tree_before_another(self): method test_move_before_function (line 139) | def test_move_before_function(self): method test_move_one_tree_before_other_tree (line 200) | def test_move_one_tree_before_other_tree(self): method test_move_before_to_other_tree (line 348) | def test_move_before_to_other_tree(self): class MoveAfter (line 413) | class MoveAfter(object): method test_move_after_function (line 415) | def test_move_after_function(self): method test_move_to_toplevel_where_much_trees_from_right_side (line 477) | def test_move_to_toplevel_where_much_trees_from_right_side(self): method test_move_to_toplevel (line 611) | def test_move_to_toplevel(self): method test_move_to_toplevel2 (line 675) | def test_move_to_toplevel2(self): method test_move_to_toplevel_big_subtree (line 741) | def test_move_to_toplevel_big_subtree(self): method test_move_after_between_tree (line 804) | def test_move_after_between_tree(self): class MoveInside (line 867) | class MoveInside(object): method test_move_between_tree (line 869) | def test_move_between_tree(self): method test_move_tree_to_another_tree (line 934) | def test_move_tree_to_another_tree(self): method test_move_inside_function (line 992) | def test_move_inside_function(self): method test_tree_shorting (line 1056) | def test_tree_shorting(self): method test_move_inside_to_the_same_parent_function (line 1121) | def test_move_inside_to_the_same_parent_function(self): FILE: sqlalchemy_mptt/tests/test_events.py class Tree (line 25) | class Tree(Base, BaseNestedSets): method __repr__ (line 31) | def __repr__(self): class TreeWithCustomId (line 35) | class TreeWithCustomId(Base, BaseNestedSets): method __repr__ (line 43) | def __repr__(self): class TreeWithCustomLevel (line 47) | class TreeWithCustomLevel(Base, BaseNestedSets): method __repr__ (line 55) | def __repr__(self): class TestTree (line 59) | class TestTree(TreeTestingMixin, unittest.TestCase): class TestTreeWithCustomId (line 64) | class TestTreeWithCustomId(TreeTestingMixin, unittest.TestCase): class TestTreeWithCustomLevel (line 69) | class TestTreeWithCustomLevel(TreeTestingMixin, unittest.TestCase): class Events (line 74) | class Events(unittest.TestCase): method test_register (line 76) | def test_register(self): method test_register_and_remove (line 101) | def test_register_and_remove(self): method test_remove (line 128) | def test_remove(self): class Tree0Id (line 155) | class Tree0Id(DatabaseSetupMixin, unittest.TestCase): method test (line 163) | def test(self): class InitialInsert (line 175) | class InitialInsert(DatabaseSetupMixin, unittest.TestCase): method test_documented_initial_insert (line 182) | def test_documented_initial_insert(self): FILE: sqlalchemy_mptt/tests/test_inheritance.py class GenericTree (line 13) | class GenericTree(Base, BaseNestedSets): method __repr__ (line 27) | def __repr__(self): class SpecializedTree (line 31) | class SpecializedTree(GenericTree): class TestTree (line 47) | class TestTree(DatabaseSetupMixin, unittest.TestCase): method test_create_generic (line 51) | def test_create_generic(self): method test_create_spec (line 59) | def test_create_spec(self): method test_create_delete (line 67) | def test_create_delete(self): class TestGenericTree (line 96) | class TestGenericTree(TreeTestingMixin, unittest.TestCase): class TestSpecializedTree (line 101) | class TestSpecializedTree(TreeTestingMixin, unittest.TestCase): method test_rebuild (line 106) | def test_rebuild(self): class BaseInheritance (line 114) | class BaseInheritance(Base2): method __repr__ (line 126) | def __repr__(self): class InheritanceTree (line 130) | class InheritanceTree(BaseInheritance, BaseNestedSets): class TestInheritanceTree (line 142) | class TestInheritanceTree(TreeTestingMixin, unittest.TestCase): method test_rebuild (line 147) | def test_rebuild(self): FILE: sqlalchemy_mptt/tests/test_mixins.py class Tree2 (line 23) | class Tree2(Base, BaseNestedSets): class TestMixin (line 29) | class TestMixin(unittest.TestCase): method test_mixin_parent_id (line 30) | def test_mixin_parent_id(self): FILE: sqlalchemy_mptt/tests/test_stateful.py class Tree (line 22) | class Tree(Base, BaseNestedSets): method __repr__ (line 28) | def __repr__(self): class TreeStateMachine (line 32) | class TreeStateMachine(DatabaseSetupMixin, RuleBasedStateMachine): method __init__ (line 37) | def __init__(self): method teardown (line 41) | def teardown(self): method add_root_node (line 48) | def add_root_node(self, visible): method delete_node (line 56) | def delete_node(self, node): method add_child (line 69) | def add_child(self, node, visible): method check_get_tree_integrity (line 78) | def check_get_tree_integrity(self): method check_get_tree_with_custom_query (line 88) | def check_get_tree_with_custom_query(self): function validate_get_tree_node (line 100) | def validate_get_tree_node(node_response, level=1): function validate_get_tree_node_for_custom_query (line 113) | def validate_get_tree_node_for_custom_query(node_response):