As configured in my dotfiles.
start new:
tmux
start new with session name:
""" | |
SQLAlchemy, PostgreSQL (psycopg2), and autocommit | |
See blog post: http://oddbird.net/2014/06/14/sqlalchemy-postgres-autocommit/ | |
""" | |
from contextlib import contextmanager | |
from sqlalchemy import create_engine, event | |
from sqlalchemy.orm import sessionmaker, Session as BaseSession |
from sqlalchemy import (create_engine, event, | |
Column, Integer, | |
ForeignKey) | |
from sqlalchemy import event | |
from sqlalchemy.orm import sessionmaker, scoped_session | |
from sqlalchemy.orm import relationship | |
from sqlalchemy.ext.declarative import declarative_base, declared_attr | |
from sqlalchemy.exc import DBAPIError | |
import sqlite3 |
As configured in my dotfiles.
start new:
tmux
start new with session name: