Skip to content

fix(jig): fix type issues with python3.10 and stop supporting 3.9#307

Open
technillogue wants to merge 1 commit intonextfrom
syl/fix-version-issue
Open

fix(jig): fix type issues with python3.10 and stop supporting 3.9#307
technillogue wants to merge 1 commit intonextfrom
syl/fix-version-issue

Conversation

@technillogue
Copy link
Contributor

get_origin doesn't work properly for dict[str, str] on python3.10, so Dict[str, str] is required for stainless cast_to. additionally, get_type_hints doesn't work for X | Y on python3.9, but python3.9 is EOL so I'm just raising a clearer error about it while we wait to stop supporting 3.9 entirely

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.

2 participants