Closed noxan closed 7 months ago
Apparently, pyright
doesnt like the Union of multiple return types because the classes are dynamically returned. This was done in an effort to fix this issue: https://github.com/deepgram/deepgram-python-sdk/issues/311. Will selectively revert some changes, but someone is going to be unhapp. Will need to investigate how to handle this.
Fixed in this release: https://github.com/deepgram/deepgram-python-sdk/releases/tag/v3.1.6
thanks @dvonthenen :)
What is the current behavior?
Cannot access member "v" for type "LiveClient". Member "v" is unknown. Pylance[reportAttributeAccessIssue]
Steps to reproduce
Expected behavior