Function Sql Server Return String Python Methods