deepgram / deepgram-python-sdk

Official Python SDK for Deepgram's automated speech recognition APIs.
https://developers.deepgram.com
MIT License
239 stars 63 forks source link

Unused Variable Due to Typo in Output Statement in `examples/manage/usage/main.py` #458

Closed Viamo closed 2 months ago

Viamo commented 2 months ago

What is the current behavior?

In the file main.py, the variable reqResp is never used because the output is printed from the wrong variable due to a typo.

Steps to reproduce

  1. Review the main.py file.
  2. Observe that reqResp is defined but not used.
  3. Notice that the value of a different variable is printed instead, due to a typo.

Expected behavior

The variable reqResp should be used correctly, and the correct variable's value should be printed.

Other information

The issue is due to a typo causing the wrong variable to be printed. The reqResp variable should be used to display the correct output.

davidvonthenen commented 2 months ago

Will have a fix for this! Thanks for catching this @Viamo !

davidvonthenen commented 2 months ago

PR opened: https://github.com/deepgram/deepgram-python-sdk/pull/460

davidvonthenen commented 2 months ago

This has been merged and is currently available.