This is not java. Simplify
Simple formatting
This doesn't need to be in the class. Simpler outside.
That comment should be here.
Method can be a function.
Remvoe commented out code. Its in history.
Convert this list to set - otherwise the same primary key is detected twice.
This did give bad output.
Reformat a little
Reformat a little.
Add comment explaining what you get out of this method.
This need not be kwarg - it's never used that way.
A simpler and less roundabout way to say that.
This allows it to skip/ignore comment lines.
Make this method a function.
Never used.
Method can be a function.
Diff count - not used.
Split that one big thing into three smaller ones. Fixed trailing comma
on tables without PK issue.
There may be some DRY work to do afterwards.
Clean and simplify
Add a gitignore file.