Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Changes to FivetranSensor for supporting backfills #58

Merged
merged 10 commits into from
Nov 6, 2023
Prev Previous commit
Next Next commit
help mypy
  • Loading branch information
dwreeves committed Sep 30, 2023
commit 18ff382adb3dda887b28c493e39a41a9d5bbba73
3 changes: 2 additions & 1 deletion fivetran_provider_async/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,9 @@ def _do_api_call(
if not _retryable_error(e):
# In this case, the user probably made a mistake.
# Don't retry.
assert e.response is not None # mypy
raise AirflowException(
f"Response: {e.response.content}, " f"Status Code: {e.response.status_code}"
f"Response: {e.response.content!r}, " f"Status Code: {e.response.status_code}"
)

self._log_request_error(attempt_num, str(e))
Expand Down