deepset-ai / deepset-cloud-sdk

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

Exiting listin files logs exception #36

Closed ArzelaAscoIi closed 1 year ago

ArzelaAscoIi commented 1 year ago

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

ArzelaAscoIi commented 1 year ago

cc: @wochinge