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.
2 parents 7a3d161 + c7b00f8 commit 73d2caeCopy full SHA for 73d2cae
1 file changed
src/paho/mqtt/reasoncodes.py
@@ -13,6 +13,7 @@
13
# Contributors:
14
# Ian Craggs - initial implementation and/or documentation
15
# *******************************************************************
16
+from __future__ import annotations
17
18
import functools
19
import warnings
@@ -31,7 +32,7 @@ class ReasonCode:
31
32
33
"""
34
- names = MappingProxyType(
35
+ names: MappingProxyType | dict = MappingProxyType(
36
{
37
0: {
38
"Success": [
0 commit comments