Class Format Python String Split Function Sql