Dwollaswagger Python Library bug report


(Roberto Tijerino) #1

I believe I have found a bug in the dwollaswagger for python library.

When accessing _transferApi.by_id(transfer) the library throws an exception:

Calling:

_transferApi.by_id(transfer)

Exception:

‘module’ object has no attribute ‘DateTime’

I traced it down to the file api_client.py line 208

elif attr_type == ‘datetime’:

I have changed the line to

elif attr_type.tolower() == ‘datetime’:

and the exception has gone away.

Is there a newer version of the library that contains this corection?


(Roberto Tijerino) #2

Nevermind, I was using version 1.0.5 and Github has version 1.0.8 for anyone who is interested.