latest ipynb

pull/1/head
Raymond Yee 2012-12-10 10:44:09 -08:00
parent 5e3af4fe6a
commit 658dbb8521
1 changed files with 3 additions and 3 deletions

View File

@ -78,9 +78,9 @@
"sc = StripeClient()\n",
"customers = list(sc._all_objs('Customer'))\n",
"\n",
"[(customer.active_card[\"address_line1_check\"], \n",
"customer.active_card[\"address_zip_check\"], \n",
"customer.active_card[\"cvc_check\"]) for customer in customers]\n"
"[(customer.id, customer.description, customer.active_card.get(\"address_line1_check\"), \n",
"customer.active_card.get(\"address_zip_check\"), \n",
"customer.active_card.get(\"cvc_check\")) for customer in customers if customer.active_card is not None]\n"
],
"language": "python",
"metadata": {},