We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a062e1 commit 1701e04Copy full SHA for 1701e04
tahoma_api/client.py
@@ -118,12 +118,12 @@ async def fetch_event_listener(self, listener_id: str) -> List[Event]:
118
119
return events
120
121
- async def get_current_execution(self, exec_id: str) -> List[Execution]:
+ async def get_current_execution(self, exec_id: str) -> Execution:
122
""" Get an action group execution currently running """
123
response = await self.__get(f"exec/current/{exec_id}")
124
- executions = [Execution(**e) for e in humps.decamelize(response)]
+ execution = Execution(**humps.decamelize(response))
125
126
- return executions
+ return execution
127
128
async def get_current_executions(self) -> List[Execution]:
129
""" Get all action groups executions currently running """
0 commit comments