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

Use typing.Optional and typing.Union to be compatible with python3.9 … #15254

Closed
wants to merge 1 commit into from

Conversation

bwesen
Copy link

@bwesen bwesen commented Mar 14, 2024

…in styles.py

Description

Fix some minor python3.10-esque typing changes in modules/styles.py so it still works on python3.9 as well

Checklist:

@bwesen bwesen requested a review from AUTOMATIC1111 as a code owner March 14, 2024 13:07
@bwesen bwesen changed the base branch from master to dev March 14, 2024 13:11
@bwesen bwesen closed this Mar 14, 2024
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.

1 participant