Mysql Create Array In Javascript Functions With Parameters In Python