Fix the repeat of code for commercial, industrial and residential codes
There are some pieces of code (or functionalities) which are repeated in the residential, commercial and industrial code. This code as @ds pointed out can be inherited from another file . Here is the list of functions and tables which overlap right now. I suggest starting with this, and as and when we move on with the industrial exposure, we can find more tables which overlap (I am sure there are more functions which overlap, but I am not entirely clear which ones do as of now)
Tables:
-
District
table (Overlaps for residential, commercial and industrial exposure). -
import_districts_and_boundaries
(Overlaps for residential, commercial and industrial exposure).