Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(python): dereference values returned from Kernel.ainvoke (#3847)
Currently, calling an async method via the Python runtime results in an `ObjRef` being returned, rather than an instance of the desired object. Applying the `@_dereferenced` decorator to `Kernel.ainvoke`, similar to what is already done for `sinvoke`, fixes the problem. Fixes #3620 --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
- Loading branch information