Skip to content

Use single subscribe method for decorator or direct invocation - #1656

Merged
jaraco merged 3 commits into
masterfrom
feature/single-subscribe
Nov 10, 2017
Merged

Use single subscribe method for decorator or direct invocation#1656
jaraco merged 3 commits into
masterfrom
feature/single-subscribe

Conversation

@jaraco

@jaraco jaraco commented Oct 29, 2017

Copy link
Copy Markdown
Member

This approach presents an alternative approach to afb5b33, in which only one subscribe method is presented and the decorator functionality is exposed when no callback is supplied.

Thoughts?

jaraco referenced this pull request Oct 29, 2017
@webknjaz

Copy link
Copy Markdown
Member
E   TypeError: subscribe() got multiple values for keyword argument 'channel'

@jaraco

jaraco commented Oct 29, 2017

Copy link
Copy Markdown
Member Author

Ugh. Did I really do that?

I tested the code, then reformatted it, then committed and pushed and made a PR. ...but I added a regression in the reformatting, now corrected.

@webknjaz

Copy link
Copy Markdown
Member

@jaraco try re-running https://ci.appveyor.com/project/jaraco/cherrypy/build/1.0.459/job/cls4x77usuklwess and feel free to merge this PR

@codecov

codecov Bot commented Nov 6, 2017

Copy link
Copy Markdown

Codecov Report

Merging #1656 into master will increase coverage by 0.89%.
The diff coverage is 90%.

@@            Coverage Diff             @@
##           master    #1656      +/-   ##
==========================================
+ Coverage   76.98%   77.87%   +0.89%     
==========================================
  Files         106      106              
  Lines       14372    15171     +799     
==========================================
+ Hits        11064    11815     +751     
- Misses       3308     3356      +48

@jaraco
jaraco merged commit 3b239d3 into master Nov 10, 2017
jaraco added a commit that referenced this pull request Nov 14, 2017
@jaraco
jaraco deleted the feature/single-subscribe branch December 17, 2017 17:07
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.

2 participants