forked from platypush/platypush
Fabio Manganiello
86edd70d93
- The `declarative_base` instance should be shared - Database `session_locks` should be stored at module, not instance level - Better isolation of scoped sessions - Enclapsulated `get_session` method in `UserManager`
3 lines
71 B
Python
3 lines
71 B
Python
from sqlalchemy.orm import declarative_base
|
|
|
|
Base = declarative_base()
|