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

Refactored the Python CLI code. #409

Merged
merged 1 commit into from
Oct 3, 2021

Conversation

andreaspeters
Copy link
Contributor

Like I promised in PR#405 (#405), this is one of the three PR's I will open. This PR will change:

  • Remove unneeded conditions parameter to "filter" the json call.
  • Remove the limitation of "task list".
  • Add global function to get the host address of a framework (for future use in plugins)
  • Add global function to get all frameworks connected to mesos (for future use in plugins)

@cf-natali I will open the other two PR's when this one is reviewed. :-)

src/python/cli_new/lib/cli/mesos.py Outdated Show resolved Hide resolved
src/python/cli_new/lib/cli/mesos.py Outdated Show resolved Hide resolved
src/python/cli_new/lib/cli/http.py Show resolved Hide resolved
@andreaspeters andreaspeters force-pushed the remove-condition branch 4 times, most recently from b47e3f5 to 8f13047 Compare September 23, 2021 07:41
remove unneeded empty lines

FIX test script.

REMOVE: not needed newline.

FIX: Missing config.

MODIFY text length.
@cf-natali cf-natali changed the title Remove tasks limit and condition. Add global functions. Refactored the Python CLI code. Oct 3, 2021
@cf-natali cf-natali merged commit 067fb9f into apache:master Oct 3, 2021
@cf-natali
Copy link
Contributor

Thanks, looking forward to the other MRs!

@andreaspeters andreaspeters deleted the remove-condition branch October 4, 2021 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants