thefactory/marathon-python

why do list_apps not support labels query parameters

Opened this issue · 1 comments

why do list_apps not support labels query parameters

Yeah, I'm wondering this as well. The following should work, but it doesn't!

Create a MarathonClient() instance pointing at your Marathon server(s):

>>> from marathon import MarathonClient
>>> c = MarathonClient('http://localhost:8080')

Then try calling some methods to list apps with the given label=value parameter:

>>> c.list_apps(label="somelabel%3dlabelvaluehere")

or

>>> c.list_apps(label="somelabel=labelvaluehere")