Skip to content
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

Expose hook for creating handlers #68

Merged
merged 1 commit into from
Jan 24, 2020
Merged

Conversation

sloria
Copy link
Contributor

@sloria sloria commented Jan 23, 2020

This is independently useful of #67 , but it would meet that use case, since one could do

class MyCustomMllpRequestHandler(mllp._MLLPRequestHandler):
    def _create_handler(self, *args, **kwargs):
        handler = super()._create_handler(*args, **kwargs)
        handler.server = self
        # ... set more attributes
        return handler

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 95.28% when pulling bc16ce7 on sloria:create-handler into beba03d on crs4:develop.

@svituz svituz merged commit 53da4f9 into crs4:develop Jan 24, 2020
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.

3 participants