ERPNext.com Frappe Cloud Support Partners Foundation Frappe School

Get_last_doc() got an unexpected keyword argument 'filters'

hello everyone, in document https://frappeframework.com/docs/user/en/api/document I get that frappe get_last_doc could filter but when I try It not true, Is document newest? and I’m try to get the latest record in DB but not work, any helps ,please
Thanks,

I just tried this in our custom app and it worked fine (Frappe version-13-beta): frappe.get_last_doc('Customer', filters={'status': 'Lead'})



I use frappe - docker, maybe not the latest version