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

Fixed bug (for Python3.8) in type annotations #1134

Merged
merged 2 commits into from
Feb 11, 2025

Conversation

rhfogh
Copy link
Collaborator

@rhfogh rhfogh commented Feb 10, 2025

The line
users: Optional[dict[str, LimsUser]] = {}
raises an error in Python 3.8. Changing it to
users: Optional[Dict[str, LimsUser]] = {}
(and importing Dict) fixes the problem

@marcus-oscarsson
Copy link
Member

Ok looks good. isort is complaining but apart from that :)

@fabcor-maxiv fabcor-maxiv merged commit f48653a into mxcube:develop Feb 11, 2025
8 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