Skip to content

Commit

Permalink
fixed minor comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ranjeet committed Oct 9, 2024
1 parent 3ec2ae2 commit ca4812c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ apache-airflow == 2.10.0
requests == 2.32.3
setuptools == 65.5.1 # not directly required, pinned by Snyk to avoid a vulnerability
pytest==7.3.1
ruff==0.6.8
2 changes: 1 addition & 1 deletion rudder_airflow_provider/hooks/rudderstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def make_request(
response.raise_for_status()
return response.json()
except requests.RequestException as e:
logging.error(f"Request to url: {url} failed: {e}")
self.log.error(f"Request to url: {url} failed: {e}")
if num_retries == self.request_max_retries:
break
num_retries += 1
Expand Down
2 changes: 1 addition & 1 deletion rudder_airflow_provider/operators/rudderstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def execute(self, context):
)
profile_run_id = rs_profiles_hook.start_profile_run(self.profile_id)
if self.wait_for_completion:
logging.info(
self.log.info(
f"Poll and wait for profiles run to finish for profilesId: {self.profile_id}, runId: {profile_run_id}"
)
rs_profiles_hook.poll_profile_run(self.profile_id, profile_run_id)

0 comments on commit ca4812c

Please sign in to comment.