deepset-ai / deepset-cloud-sdk

A Python SDK to interact with deepset Cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exiting listin files logs exception

ArzelaAscoIi opened this issue · comments

Describe the bug
After typing "n" for listing files it raises an exception

image

To Reproduce
Steps to reproduce the behavior:

  1. Call python3 -m deepset_cloud_sdk.cli list-files for a wokspace with files
  2. Type "n"
  3. See exception

Expected behavior
No log line

Notes: this happens since the generator exits the context and does not close the loop properly with typer:
Here: (workflow)
here: CLI

Checklist

  • I added a label for the level of urgency of this bug (see definitions here)