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

why do list_apps not support labels query parameters #158

Open
krainz opened this issue Nov 25, 2016 · 1 comment
Open

why do list_apps not support labels query parameters #158

krainz opened this issue Nov 25, 2016 · 1 comment

Comments

@krainz
Copy link

krainz commented Nov 25, 2016

No description provided.

@ILMostro
Copy link

ILMostro commented Sep 22, 2017

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")

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

No branches or pull requests

2 participants