i was trying to upload attachment jpg image file.I can upload image using folowing python command
image = “Desktop/test.jpg”
with open(image,“rb”) as f:
data = f.read()
client.attachments.create_attachment_for_task(task_gid, file_content=data, file_name=“test”,file_content_type=“image”)
It uploads but does not show the image just like when i upload manually.
how to upload image through python api and make it to be seen in task bar.