It appears that the python client is attempting to determine the type of resource based off the href of the request and not the content of the response. In the case of the source/destination on debits/credits, those are going to be /resources/(CC|BA)asdfasdf since the source is not restricted to a single resource type.
an example:
card = .......
debit = card.debit(amount=500)
debit.source # this is of type Resource
isinstance(debit.source, balanced.Card) = False # should logically be true
It appears that the python client is attempting to determine the type of resource based off the href of the request and not the content of the response. In the case of the source/destination on debits/credits, those are going to be
/resources/(CC|BA)asdfasdf
since the source is not restricted to a single resource type.an example: