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 67af28b commit b70748cCopy full SHA for b70748c
lib/mysql/connector/constants.py
@@ -29,10 +29,10 @@
29
"""Various MySQL constants and character sets
30
"""
31
32
-import six
33
import ssl
34
import warnings
35
+from .catch23 import make_abc
36
from .errors import ProgrammingError
37
from .charsets import MYSQL_CHARACTER_SETS
38
@@ -546,8 +546,8 @@ def SLAVE(self):
546
return _obsolete_option("RefreshOption.SLAVE", "RefreshOption.REPLICA",
547
RefreshOption.REPLICA)
548
549
-
550
-class RefreshOption(six.with_metaclass(RefreshOption_meta, _Constants)):
+@make_abc(RefreshOption_meta)
+class RefreshOption(_Constants):
551
"""MySQL Refresh command options
552
553
Options used when sending the COM_REFRESH server command.
0 commit comments