Focus on Non-blocking Postgres exception checking by: * Use safe getattr to fetch pgcode instead * Use psycopg errorcodes module to use named variables instead of direct codes...for way superior readability xD Also, moved exceptions out of the main class - just code separation, no namespace change. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| database.py | ||
| framework_postgres.sql | ||
| schema.py | ||
| setup_db.py | ||