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

Allow kwargs for set_color #3

Merged
merged 3 commits into from May 20, 2019
Merged

Conversation

brentru
Copy link
Member

@brentru brentru commented Apr 15, 2019

Modifying set_color to take in kwargs instead of predefined arguments. This allows actions such as setting the color, but not modifying (or providing) a brightness or state.

Removing lines containing redefinitions of path in favor of including the path directly in the HTTP request

@brentru brentru requested a review from a team April 15, 2019 21:56
Copy link
Collaborator

@evaherrada evaherrada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me.

@evaherrada evaherrada merged commit de95ad3 into adafruit:master May 20, 2019
@brentru
Copy link
Member Author

brentru commented May 20, 2019

@dherrada Before approving changes which change a method's signature/arguments, please check that the README.rst's code example has also been updated.

@evaherrada
Copy link
Collaborator

@brentbru sorry. I’ll make sure to remember that in the future.

@brentru
Copy link
Member Author

brentru commented May 20, 2019

@dherrada No problem - this example is OK, but definitely be aware of it during the approval. I double checked that simpletest and the Usage in the README.rst were OK before releasing.

@evaherrada
Copy link
Collaborator

@brentru is there anything else I should make sure to check for?

@brentru
Copy link
Member Author

brentru commented May 21, 2019

@dherrada not that I can think of rn..

@evaherrada
Copy link
Collaborator

Ok

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.

None yet

2 participants