Skip to content

Commit 3942303

Browse files
committed
Fix APP-8346
1 parent 5caac46 commit 3942303

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

pyatlan/model/aio/workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ async def next_page(self, start=None, size=None) -> bool:
6666
async def _get_next_page(self) -> bool:
6767
"""Fetch the next page of results."""
6868
request = WorkflowSearchRequest(
69-
query=self._criteria, from_=self._start, size=self._size
69+
query=self._criteria.query, from_=self._start, size=self._size
7070
)
7171
raw_json = await self._client._call_api(
7272
api=self._endpoint,

tests/integration/aio/test_workflow_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ async def test_workflow_get_runs_and_stop(
191191
[AtlanWorkflowPhase.FAILED], started_at="now-1h"
192192
)
193193
assert runs_status
194+
async for _ in runs_status:
195+
pass
194196

195197

196198
async def test_workflow_get_all_scheduled_runs(

0 commit comments

Comments
 (0)