PDF Attachment in FrappeClient (Python API)

Solved. Need to pass syntax as

attachments: '["name"]'

where name is fetched from File List (got form filtering with attached to name field)