Library calls shouldn't cast an error
haz opened this issue · comments
Christian Muise commented
This is an example where things can go wrong"
Creating a datafile...
Traceback (most recent call last):
File "example.py", line 147, in <module>
(response, datafile) = room.create_datafile('test-data-file')
File "/Users/anthonynonso/python/buzzdata.py", line 155, in create_datafile
datafile = DataFile(self, response['datafile_uuid'])
TypeError: string indices must be integers, not str
Christian Muise commented
Addressed with 9e81ba4