How to read attachments with python

Hello Beautiful people
How can I find which files are attached to a Document?


Use filters on File DocType?

http://mysite.localhost:8000/api/resource/File?filters=[["attached_to_doctype","=","Data Import"],["attached_to_name","=","Import on 30-10-2019 12:52:35"]]

Do you know how to do it with the python API? @revant_one

use filters param for frappe db api calls

@revant_one Thank you very much for your help!