Using the Python api, I can't see a way to know if an attachment is linked to a reply. All attachments for a version (even if the attachment was attached to a reply) show up under the reply's parent note only. Is this a bug?
Not sure if it's necessary, but the version of Shotgun my company is using is "v22.214.171.124 (build 198d763)". And if this problem is a bug with this version I guess there's nothing I can do since I am not in control of updates to Shotgun.