subkanthi commented on a change in pull request #20271:
URL: https://github.com/apache/airflow/pull/20271#discussion_r768207839
##########
File path: airflow/providers/airbyte/sensors/airbyte.py
##########
@@ -54,7 +54,7 @@ def __init__(
def poke(self, context: dict) -> bool:
hook = AirbyteHook(airbyte_conn_id=self.airbyte_conn_id,
api_version=self.api_version)
- job = hook.get_job(job_id=self.airbyte_job_id)
+ job = hook.get_job(job_id=int(self.airbyte_job_id))
Review comment:
`def get_job(self, job_id: int) -> Any:`
This is fixing this error, sorry not sure why its a breaking change.
airflow/providers/airbyte/sensors/airbyte.py:57: error: Argument "job_id" to
"get_job" of "AirbyteHook" has incompatible type "str"; expected "int"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]