Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python] Support PEP 563 #9385

Merged
merged 2 commits into from
Oct 22, 2023
Merged

Conversation

Tishj
Copy link
Contributor

@Tishj Tishj commented Oct 18, 2023

This PR fixes #9226

As explained in https://peps.python.org/pep-0563/ this adds stringified annotations.

inspect.signature() has an eval_str option starting with python3.10, we now set this option in versions that support it

@Mytherin Mytherin requested a review from Mause October 18, 2023 14:47
@Mytherin Mytherin merged commit 812c4a9 into duckdb:main Oct 22, 2023
@Mytherin
Copy link
Collaborator

Thanks!

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.

duckdb.create_function type inferencing doesn't work with from __future__ import annotations
2 participants