mycursor.execute(
    """INSERT INTO products 
                    (user_id, city_id, product_id, quantity, price) 
                    VALUES (%s, %s, %s, %s, %s)"""
    , (user_id, city_id, product_id, quantity, price))
how to insert None values as null into postgresql db using Python