-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add 'Sink.create' API wrapper and 'Client.sink' factory. #1596
Conversation
@@ -53,3 +54,22 @@ def logger(self, name): | |||
:returns: Logger created with the current client. | |||
""" | |||
return Logger(name, client=self) | |||
|
|||
def sink(self, name, filter_, destination): | |||
"""Creates a sink bound to the current client. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Mostly looks good but
|
@@ -56,6 +57,7 @@ def logger(self, name): | |||
""" | |||
return Logger(name, client=self) | |||
|
|||
<<<<<<< HEAD |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
LGTM pending Travis. Squash if it pleases you. I have found it quite easy in my workflow to do: $ git checkout branch-working-on
$ git reset HEAD^
$ # Repeat for as many commits need to be squashed
$ git add -p . # I make sure I am adding the right stuff
$ git commit --amend # Just save it and then the amend will add back the staged contents to the original base commit. |
Squashed. I will merge after Travis passes. |
I've been using |
Add 'Sink.create' API wrapper and 'Client.sink' factory.
This PR punts on any answer to #1591.