File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
class TableMetadataUnavailableError (Exception ):
2
- def __init__ (self , table ) :
2
+ def __init__ (self , table : str ) -> None :
3
3
Exception .__init__ (self ,"Unable to find metadata for table {0}" .format (table ))
4
4
5
5
6
6
class BinLogNotEnabled (Exception ):
7
- def __init__ (self ):
7
+ def __init__ (self ) -> None :
8
8
Exception .__init__ (self , "MySQL binary logging is not enabled." )
9
9
10
10
11
11
class StatusVariableMismatch (Exception ):
12
- def __init__ (self ):
13
- Exception .__init__ (self , " " .join (
12
+ def __init__ (self ) -> None :
13
+ Exception .__init__ (self , " " .join ([
14
14
"Unknown status variable in query event."
15
15
, "Possible parse failure in preceding fields"
16
16
, "or outdated constants.STATUS_VAR_KEY"
17
17
, "Refer to MySQL documentation/source code"
18
18
, "or create an issue on GitHub"
19
- ))
19
+ ] ))
You can’t perform that action at this time.
0 commit comments