Skip to content

Derive all api classes from Request / Response base classes #1030

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 14, 2017

Conversation

dpkp
Copy link
Owner

@dpkp dpkp commented Mar 13, 2017

A minor refactor that uses abc to enforce some basic request / response class requirements. I've also moved the logic used to check whether a request generates a response (i.e., ProduceRequest w/ acks=0) to the Request class. This will help with further client + protocol refactoring.

@dpkp dpkp force-pushed the request_response_classes branch from bec1e82 to 894cfec Compare March 13, 2017 18:16
@dpkp dpkp merged commit 65ba882 into master Mar 14, 2017
88manpreet pushed a commit to Yelp/kafka-python that referenced this pull request Apr 7, 2017
@dpkp dpkp deleted the request_response_classes branch August 13, 2017 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant