Skip to content

fix: py3.14: secrets: list[str] TypeError FunctionWithAio#154

Merged
markbackman merged 1 commit intodaily-co:mainfrom
edswarthout58:fix-py314
Apr 2, 2026
Merged

fix: py3.14: secrets: list[str] TypeError FunctionWithAio#154
markbackman merged 1 commit intodaily-co:mainfrom
edswarthout58:fix-py314

Conversation

@edswarthout58
Copy link
Copy Markdown

Python 3.14 defers evaluation of list[str] by wrapping it in __annotate__.
Fix by using explicit typing.List hint.

py3.14 annotations

Python 3.14 defers evaluation of list[str] by wrapping it in __annotate__.
Fix by using explicit typing.List hint.

Signed-off-by: Ed Swarthout <Ed.Swarthout58@gmail.com>
Copy link
Copy Markdown
Contributor

@markbackman markbackman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this and proposing the fix 🙏

@markbackman markbackman merged commit aac60ca into daily-co:main Apr 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants