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

Add future annotations #11

Merged
merged 1 commit into from
Jun 20, 2024
Merged

Add future annotations #11

merged 1 commit into from
Jun 20, 2024

Conversation

pankajastro
Copy link
Collaborator

Add future annotations and improve type check

@venkatajagannath
Copy link
Contributor

@pankajastro Dict is used specifically for type hinting.. why do we want to change it to dict?

@pankajastro
Copy link
Collaborator Author

@pankajastro Dict is used specifically for type hinting.. why do we want to change it to dict?

If you are on Python>=3.7 Both serve the same purpose. dict is relatively smaller and more cleaner and also it does not require any addditional import

@venkatajagannath venkatajagannath merged commit c966c33 into main Jun 20, 2024
15 checks passed
@venkatajagannath venkatajagannath deleted the future_annotations branch June 20, 2024 14:44
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