Commit 821848b
refactor(sql): Simplify primary key fallback logic with one-liner
Address @aaronsteers feedback to use more concise approach:
pks = configured_stream.primary_key or configured_stream.stream.source_defined_primary_key or []
This maintains exact same functionality while being more readable.
Co-Authored-By: AJ Steers <[email protected]>1 parent 065e737 commit 821848b
File tree
1 file changed
+5
-6
lines changed1 file changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
131 | 130 | | |
132 | 131 | | |
133 | 132 | | |
| |||
0 commit comments