Is it possible to retrieve the execution result of the flow with the same name that was executed one time before?

Is it possible to retrieve the execution result of the flow with the same name that was executed one time before?

I’ve tried to implement it, but it doesn’t work.

from prefect import flow,get_run_logger,task,Flow
from prefect.orion.api.flow_runs import flow_run_history
from datetime import datetime,date,time,timedelta


@task()
def sample():
    print("test!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
    return 1

@flow
async def flows(): 
    current_time = datetime.now()
    today = datetime.combine(current_time, time.min).replace(microsecond=0)
    flw = await flow_run_history(history_start=today,history_end=current_time,history_interval=timedelta(seconds=30),flows="flows")
    sample()
    print(flw)

if __name__ == "__main__":
    flows()

packages\prefect\orion\api\flow_runs.py", line 137, in flow_run_history
async with db.session_context() as session:
AttributeError: ‘Depends’ object has no attribute ‘session_context’
02:06:06 PM
Finished in state Failed(“Flow run encountered an exception. AttributeError: ‘Depends’ object has no attribute ‘session_context’\n”)

no, not possible at the moment. Feel free to submit a feature request on GitHub if you are interested: