Skip to content

Python: Unclear how to detect errors during invoke_stream #5385

@bastbu

Description

@bastbu

On version python-0.9.0.beta1, the KernelContext was removed. On KernelContext, there was a last_exception property that allowed us to get an error if one occurred. So far, what I can see with FunctionResult is that on error there is a metadata["error"] field. However, I could not see from the examples what is the supported way to check (and reraise) errors. Is there a recommended way to do this?

Metadata

Metadata

Assignees

Labels

pythonPull requests for the Python Semantic Kerneltriage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions