You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ReubenFrankel
changed the title
bug: `Use http_method instead warning despite not declaring rest_method`
bug: Use http_method instead warning despite not declaring rest_methodFeb 5, 2025
ReubenFrankel
changed the title
bug: Use http_method instead warning despite not declaring rest_method
bug: Use http_method instead warning despite not declaring rest_methodFeb 5, 2025
Singer SDK Version
0.44.2
Is this a regression?
YesSort ofPython Version
NA
Bug scope
Taps (catalog, state, etc.)
Operating System
No response
Description
tap-f1
does not declarerest_method
anywhere (assumes default ofGET
) and yet there are loads ofWarning: Use `http_method` instead.
logs from Pytest: https://github.com/ReubenFrankel/tap-f1/actions/runs/13155539363/job/36711708911?pr=104#step:7:20This looks to be the case if
http_method
is not declared (i.e.None
) and the SDK resolves the defaultGET
via internal call torest_method
:sdk/singer_sdk/streams/rest.py
Lines 176 to 180 in 1d00bfc
sdk/singer_sdk/streams/rest.py
Lines 147 to 159 in 1d00bfc
Link to Slack/Linen
No response
The text was updated successfully, but these errors were encountered: