Commit a193971
committed
normalize execute style for events, 2.0
The _execute_20 and exec_driver_sql methods should wrap
up the parameters so that they represent the single list / single
dictionary style of invocation into the legacy methods. then
the before_ after_ execute event handlers should be receiving
the parameter dictionary as a single dictionary. this requires
that we break out distill_params to work differently if event
handlers are present.
additionally, add deprecation warnings for old argument passing
styles.
Change-Id: I97cb4d06adfcc6b889f10d01cc7775925cffb1161 parent 0901190 commit a193971
12 files changed
Lines changed: 477 additions & 137 deletions
File tree
- doc/build/core
- lib/sqlalchemy
- cextension
- dialects/postgresql
- engine
- testing
- test
- aaa_profiling
- dialect/postgresql
- engine
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
| 326 | + | |
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| |||
972 | 972 | | |
973 | 973 | | |
974 | 974 | | |
975 | | - | |
| 975 | + | |
976 | 976 | | |
977 | 977 | | |
978 | 978 | | |
| |||
1127 | 1127 | | |
1128 | 1128 | | |
1129 | 1129 | | |
1130 | | - | |
| 1130 | + | |
1131 | 1131 | | |
1132 | 1132 | | |
1133 | 1133 | | |
| |||
1180 | 1180 | | |
1181 | 1181 | | |
1182 | 1182 | | |
1183 | | - | |
| 1183 | + | |
1184 | 1184 | | |
1185 | 1185 | | |
1186 | 1186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | | - | |
51 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
| |||
102 | 107 | | |
103 | 108 | | |
104 | 109 | | |
| 110 | + | |
105 | 111 | | |
106 | 112 | | |
107 | 113 | | |
| |||
131 | 137 | | |
132 | 138 | | |
133 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
134 | 145 | | |
135 | 146 | | |
136 | 147 | | |
| |||
157 | 168 | | |
158 | 169 | | |
159 | 170 | | |
160 | | - | |
161 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
162 | 177 | | |
163 | 178 | | |
164 | 179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2855 | 2855 | | |
2856 | 2856 | | |
2857 | 2857 | | |
2858 | | - | |
| 2858 | + | |
| 2859 | + | |
| 2860 | + | |
| 2861 | + | |
| 2862 | + | |
2859 | 2863 | | |
2860 | 2864 | | |
2861 | 2865 | | |
| |||
2970 | 2974 | | |
2971 | 2975 | | |
2972 | 2976 | | |
2973 | | - | |
| 2977 | + | |
2974 | 2978 | | |
2975 | 2979 | | |
2976 | 2980 | | |
| |||
3212 | 3216 | | |
3213 | 3217 | | |
3214 | 3218 | | |
3215 | | - | |
| 3219 | + | |
3216 | 3220 | | |
3217 | 3221 | | |
3218 | 3222 | | |
| |||
3222 | 3226 | | |
3223 | 3227 | | |
3224 | 3228 | | |
3225 | | - | |
| 3229 | + | |
3226 | 3230 | | |
3227 | 3231 | | |
3228 | 3232 | | |
| |||
3270 | 3274 | | |
3271 | 3275 | | |
3272 | 3276 | | |
3273 | | - | |
| 3277 | + | |
3274 | 3278 | | |
3275 | 3279 | | |
3276 | 3280 | | |
| |||
3442 | 3446 | | |
3443 | 3447 | | |
3444 | 3448 | | |
3445 | | - | |
| 3449 | + | |
3446 | 3450 | | |
3447 | 3451 | | |
3448 | 3452 | | |
| |||
3584 | 3588 | | |
3585 | 3589 | | |
3586 | 3590 | | |
3587 | | - | |
| 3591 | + | |
3588 | 3592 | | |
3589 | 3593 | | |
3590 | 3594 | | |
| |||
3635 | 3639 | | |
3636 | 3640 | | |
3637 | 3641 | | |
3638 | | - | |
| 3642 | + | |
3639 | 3643 | | |
3640 | 3644 | | |
3641 | 3645 | | |
| |||
0 commit comments