-
Notifications
You must be signed in to change notification settings - Fork 1
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
fix(clusterstatus): Update cli output #7
Conversation
Current rendered output
|
src/pvecontrol/__init__.py
Outdated
|
||
from pvecontrol.node import PVENode | ||
from pvecontrol.node import NodeStatus | ||
from pvecontrol.vm import PVEVm | ||
from pvecontrol.vm import VmStatus | ||
from pvecontrol.task import PVETask | ||
from pvecontrol.utils import _print_tableoutput, _filter_keys |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In regard to PEP 8, underscore prefixed names suggest an internal/private use. You should rename those I think.
_single_leading_underscore: weak “internal use” indicator. E.g. from M import * does not import objects whose names start with an underscore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep _ means "local" which does not exists in python :/
67dabd7
to
eb5e774
Compare
@paullaffitte @lcaflc do we need json / yaml output ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All seems OK. approved for dev validation
No description provided.