We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6687b16 commit ffdf1b3Copy full SHA for ffdf1b3
src/graphql/pyutils/did_you_mean.py
@@ -7,7 +7,7 @@
7
8
def did_you_mean(suggestions: Sequence[str], sub_message: Optional[str] = None) -> str:
9
"""Given [ A, B, C ] return ' Did you mean A, B, or C?'"""
10
- if not suggestions:
+ if not suggestions or not MAX_LENGTH:
11
return ""
12
parts = [" Did you mean "]
13
if sub_message:
0 commit comments