Skip to content

Conversation

ggtools
Copy link
Contributor

@ggtools ggtools commented Feb 7, 2015

  • Add since, until and filters parameters to Client.events
  • Add missing eventscommand in the documentation

Signed-off-by: Christophe Labouisse christophe@labouisse.org

@ggtools ggtools force-pushed the events branch 4 times, most recently from 36839d9 to 203e446 Compare February 7, 2015 19:11
@shin-
Copy link
Contributor

shin- commented Feb 10, 2015

Hi, thanks for contributing! This looks good, my only issue is that, if I understand correctly, this would break for people currently using the events endpoint because of the different output format (strings VS dicts). Can we maybe add the decoding on the fly as an option, and leave the default as is to avoid breaking?

Thanks!

@ggtools
Copy link
Contributor Author

ggtools commented Feb 11, 2015

Yes you're definitely right I adding this to the PR right now.

- Add since, until and filters parameters to `Client.events`
- Add missing `events`command in the documentation

Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
This will ensure compatibility with the previous versions of
docker-py.

Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
@shin-
Copy link
Contributor

shin- commented Feb 11, 2015

Awesome, thanks! LGTM.

shin- added a commit that referenced this pull request Feb 11, 2015
Add missing options to the events command
@shin- shin- merged commit 22dd8d7 into docker:master Feb 11, 2015
@abhat
Copy link

abhat commented Apr 23, 2015

@ggtools and @shin- , this is of huge help. Should the docs/api.md document a dictionary of non-unicode strings if decode is None and the current version if True? If you agree, I will make the edit so that the documentation is more complete.

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