When options.timeout is NotGiven, _build_headers() sets x-stainless-timeout to the string "NOT_GIVEN" via str(options.timeout), while x-stainless-read-timeout correctly falls back to the client default.
Proof after fix:
PASS x-stainless-timeout= 600
PR incoming.
When
options.timeoutisNotGiven,_build_headers()setsx-stainless-timeoutto the string"NOT_GIVEN"viastr(options.timeout), whilex-stainless-read-timeoutcorrectly falls back to the client default.Proof after fix:
PR incoming.