From 14ae7bbea530281ed2f7d2e321b25d409152423c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= Date: Mon, 10 Jul 2023 09:14:07 -0600 Subject: [PATCH] docs: Document `RESTStream.rest_method` --- singer_sdk/streams/rest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/singer_sdk/streams/rest.py b/singer_sdk/streams/rest.py index 61aa5e017..a1c39576e 100644 --- a/singer_sdk/streams/rest.py +++ b/singer_sdk/streams/rest.py @@ -51,6 +51,8 @@ class RESTStream(Stream, t.Generic[_TToken], metaclass=abc.ABCMeta): _page_size: int = DEFAULT_PAGE_SIZE _requests_session: requests.Session | None + + #: HTTP method to use for requests. Defaults to "GET". rest_method = "GET" #: JSONPath expression to extract records from the API response.