deepset-ai / deepset-cloud-sdk

A Python SDK to interact with deepset Cloud
Apache License 2.0
9 stars 2 forks source link

file sesson upload mode are not correctly shown #193

Open FHardow opened 5 months ago

FHardow commented 5 months ago

Describe the bug When I upload files with an overwrite mode different then KEEP, then listing the session should also show the same overwrite mode. The write mode was executed correctly, so there is a problem on how we fetch the write mode from the API.

To Reproduce Steps to reproduce the behavior:

  1. upload files with --write-mode OVERWRITE
  2. list file sessions
  3. see that the mode is not OVERWRITE but KEEP

Expected behavior The listing shows the correct write mode so that it doesn't confuse users.

Screenshots image

Checklist