Updated Oracle python snippet