Kyle D
02/17/2023, 5:42 PMread_logs()
with the python client work for everyone else? The following code used to return flow run logs:
async def get_logs(start_ts, end_ts):
async with get_client() as client:
logs = await client.read_logs(
log_filter=LogFilter(
timestamp={ "after_": start_ts, "before_": end_ts }
),
)
return logs
but if I query anytime after 2023-01-18
for start_ts
it returns en empty array. I have flow runs after that date and I see stuff has been logged when accessing prefect cloud, so it’s strange to me I would see different results from the client vs the cloud UI