from __future__ import annotations
causes ai functions to return strings
#950
Labels
bug
Something isn't working
First check
Bug summary
I was having a strange issue where ai functions were returning string data instead of the type specified in my function signature. It turns out that having
from __future__ import annotations
was causing the issue.Reproduction
Error
No response
Versions
Additional context
No response
The text was updated successfully, but these errors were encountered: