diff --git a/tap_github/repository_streams.py b/tap_github/repository_streams.py index 12481f16..a51f929d 100644 --- a/tap_github/repository_streams.py +++ b/tap_github/repository_streams.py @@ -865,17 +865,6 @@ def get_url_params( params["state"] = "all" return params - @property - def http_headers(self) -> dict: - """Return the http headers needed. - - Overridden to use beta endpoint which includes reactions as described here: - https://developer.github.com/changes/2016-05-12-reactions-api-preview/ - """ - headers = super().http_headers - headers["Accept"] = "application/vnd.github.squirrel-girl-preview" - return headers - def post_process(self, row: dict, context: Context | None = None) -> dict: row = super().post_process(row, context) row["type"] = "pull_request" if "pull_request" in row else "issue" @@ -1262,17 +1251,6 @@ def get_url_params( params["state"] = "all" return params - @property - def http_headers(self) -> dict: - """Return the http headers needed. - - Overridden to use beta endpoint which includes reactions as described here: - https://developer.github.com/changes/2016-05-12-reactions-api-preview/ - """ - headers = super().http_headers - headers["Accept"] = "application/vnd.github.squirrel-girl-preview" - return headers - def post_process(self, row: dict, context: Context | None = None) -> dict: row = super().post_process(row, context) if row["body"] is not None: