Commit ef48a69
Drop the dead source-method assert from request_method_plan
Method-override interpretation is keyed by operationId, and the contract
derives each override's sourceMethod from that same operation
(tusClientMethodOverrideModels), so after an operationId match the
source_method comparison could never fire for contract-consistent
callers — both generated call sites pass the UPLOAD_CHUNK constants
derived from the very operation the override names. This converges the
Python interpretation with the TypeScript runtime
(tusMethodOverrideForOperation over the sourceMethod-less
tusClientRuntimeMethodOverrideModels). source_method stays the
no-override fallback method, mirroring the TS plan-method fallback.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent bc5da81 commit ef48a69
1 file changed
Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | 442 | | |
452 | 443 | | |
453 | 444 | | |
| |||
0 commit comments