You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Identity map is not properly mapped in the Python client #55
and the customer only has 1 card, any further operation on the customer object will issue a PUT on the actual customer object, however, the source_uri which might reference the deleted card will throw a 409 since that card will have been deleted.
Here's an executable snippet:
card=balanced.Card.find('/v1/marketplaces/:marketplace_id/cards/:card_id')
customer=balanced.Customer().save()
customer.add_card(card.uri)
assertlen(customer.cards) ==1assertcustomer.cards[0].uri==card.uriassertcustomer.source_uri==card.uricustomer.cards[0].delete()
assertlen(customer.cards) ==0customer.source_uri# this still exists, it should be None!
Activity