Sql Year Function In Python With Parameters