Skip to content

Commit bcf43a7

Browse files
author
Russ Savage
committed
fix(tasks_api): fixed get_run to use proper function
1 parent 38bf155 commit bcf43a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

influxdb_client/client/tasks_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def get_run(self, task_id: str, run_id: str) -> Run:
165165
:param run_id: run id
166166
:return: Run for specified task and run id
167167
"""
168-
return self._service.get_tasks_id_runs(task_id=task_id, run_id=run_id)
168+
return self._service.get_tasks_id_runs_id(task_id=task_id, run_id=run_id)
169169

170170
def get_run_logs(self, task_id: str, run_id: str) -> List['LogEvent']:
171171
"""Retrieve all logs for a run."""

0 commit comments

Comments
 (0)