Skip to content

Use double quotes in errors related to TypeDict Keys #10352

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

Merged
merged 1 commit into from
Apr 21, 2021

Conversation

dixith
Copy link
Contributor

@dixith dixith commented Apr 21, 2021

Description

This pull request fixes issue reported in #7445 for TypeDict Key related errors Extra key, Missing key, Expected key and Unexpected key.

Test Plan

Updated test cases for the message. New test cases not added.

@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

dragonchain (https://github.com/dragonchain/dragonchain.git)
- dragonchain/webserver/helpers_utest.py:169:48: error: Missing key 'options' for TypedDict "custom_index"
+ dragonchain/webserver/helpers_utest.py:169:48: error: Missing key "options" for TypedDict "custom_index"
- dragonchain/webserver/helpers_utest.py:172:48: error: Missing key 'options' for TypedDict "custom_index"
+ dragonchain/webserver/helpers_utest.py:172:48: error: Missing key "options" for TypedDict "custom_index"
- dragonchain/webserver/helpers_utest.py:175:48: error: Missing key 'options' for TypedDict "custom_index"
+ dragonchain/webserver/helpers_utest.py:175:48: error: Missing key "options" for TypedDict "custom_index"
- dragonchain/lib/database/redisearch_utest.py:71:56: error: Missing key 'options' for TypedDict "custom_index"
+ dragonchain/lib/database/redisearch_utest.py:71:56: error: Missing key "options" for TypedDict "custom_index"


@JelleZijlstra JelleZijlstra merged commit dd16ba3 into python:master Apr 21, 2021
@dixith dixith deleted the double-quotes-errors-5 branch April 21, 2021 19:32
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