Commit a2e8e55
Improve path construction robustness in fetch_one
- Use rstrip('/') on base_path and lstrip('/') on pk segments
- More robust than replace('//', '/') for handling edge cases
- Addresses Copilot review feedback
Co-Authored-By: AJ Steers <[email protected]>1 parent bab2781 commit a2e8e55
File tree
1 file changed
+3
-3
lines changed- airbyte_cdk/sources/declarative/retrievers
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
678 | | - | |
| 678 | + | |
679 | 679 | | |
680 | | - | |
| 680 | + | |
681 | 681 | | |
682 | | - | |
| 682 | + | |
683 | 683 | | |
684 | 684 | | |
685 | 685 | | |
| |||
0 commit comments