File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11class TableMetadataUnavailableError (Exception ):
2- def __init__ (self , table ) :
2+ def __init__ (self , table : str ) -> None :
33 Exception .__init__ (self ,"Unable to find metadata for table {0}" .format (table ))
44
55
66class BinLogNotEnabled (Exception ):
7- def __init__ (self ):
7+ def __init__ (self ) -> None :
88 Exception .__init__ (self , "MySQL binary logging is not enabled." )
99
1010
1111class StatusVariableMismatch (Exception ):
12- def __init__ (self ):
13- Exception .__init__ (self , " " .join (
12+ def __init__ (self ) -> None :
13+ Exception .__init__ (self , " " .join ([
1414 "Unknown status variable in query event."
1515 , "Possible parse failure in preceding fields"
1616 , "or outdated constants.STATUS_VAR_KEY"
1717 , "Refer to MySQL documentation/source code"
1818 , "or create an issue on GitHub"
19- ))
19+ ] ))
You can’t perform that action at this time.
0 commit comments