Closed surfer190 closed 5 years ago
Per #6, the result ProduceResponse does not contain __dict__
ProduceResponse
__dict__
This pull request changes the result to return _asdict()
_asdict()
Resolves #6 .
Tried to write a test...but had trouble mocking out all the python-kafka stuff.
Merged, thanks for the fix!
And yeah, sadly in some scenarios it's quite hard to write unit tests for the pack actions.
Per #6, the result
ProduceResponse
does not contain__dict__
This pull request changes the result to return
_asdict()
Resolves #6 .