Commit 90725f1
Implement "as_dict" method for PostgresMessage
Sometimes it is useful to get all non-None members, usually for logging.
Do it in a base class to avoid copy-pasting in users' code.1 parent 35bce5a commit 90725f1
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
130 | 139 | | |
131 | 140 | | |
132 | 141 | | |
| |||
0 commit comments