from .mixins import BaseNestedSets

__version__ = "0.0.8"
__mixins__ = [BaseNestedSets]


from sqlalchemy.orm import mapper
from .mixins import BaseNestedSets
from .events import TreesManager

__version__ = "0.0.8"
__mixins__ = [BaseNestedSets]
__all__ = ['BaseNestedSets', 'mptt_sessionmaker']

tree_manager = TreesManager(BaseNestedSets)
tree_manager.register_mapper(mapper)
mptt_sessionmaker = tree_manager.register_factory

Make a default tree manager importable from the package.
Make a default tree manager importable from the package.

+ 
+ from sqlalchemy.orm import mapper
  from .mixins import BaseNestedSets
+ from .events import TreesManager
  
  __version__ = "0.0.8"
  __mixins__ = [BaseNestedSets]
+ __all__ = ['BaseNestedSets', 'mptt_sessionmaker']
  
+ tree_manager = TreesManager(BaseNestedSets)
+ tree_manager.register_mapper(mapper)
+ mptt_sessionmaker = tree_manager.register_factory
+ 
Make a default tree manager importable from the package.
## Code Before:
from .mixins import BaseNestedSets

__version__ = "0.0.8"
__mixins__ = [BaseNestedSets]

## Instruction:
Make a default tree manager importable from the package.
## Code After:

from sqlalchemy.orm import mapper
from .mixins import BaseNestedSets
from .events import TreesManager

__version__ = "0.0.8"
__mixins__ = [BaseNestedSets]
__all__ = ['BaseNestedSets', 'mptt_sessionmaker']

tree_manager = TreesManager(BaseNestedSets)
tree_manager.register_mapper(mapper)
mptt_sessionmaker = tree_manager.register_factory
