Commit 404f68b
committed
fix: propagate api_budget to parent streams in substream partition routers
When parent streams are created for substream partition routers, a new
ModelToComponentFactory instance is created without the global _api_budget
being propagated. This causes parent streams to ignore rate limiting
configuration, leading to 403 errors when API rate limits are exceeded.
This fix ensures that the _api_budget is propagated to the new factory
instance so parent streams respect the same rate limiting configuration
as child streams.
Fixes airbytehq/oncall#9874
Co-Authored-By: unknown <>1 parent 6504148 commit 404f68b
File tree
1 file changed
+2
-0
lines changed- airbyte_cdk/sources/declarative/parsers
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3888 | 3888 | | |
3889 | 3889 | | |
3890 | 3890 | | |
| 3891 | + | |
| 3892 | + | |
3891 | 3893 | | |
3892 | 3894 | | |
3893 | 3895 | | |
| |||
0 commit comments