Skip to content

Commit

Permalink
TODO _display_classes_as_table()
Browse files Browse the repository at this point in the history
Details:

* In _display_classes_as_table(), replaced the TODO that was in the docstring
  and thus not reported by Pylint, with a TODO as a comment that references
  the existing issue #249 for this TODO.

Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
  • Loading branch information
andy-maier committed Jan 3, 2021
1 parent 908565a commit 53f1eaf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pywbemtools/pywbemcli/_display_cimobjects.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,11 @@ def display_cim_objects_summary(context, objects, output_format):

def _display_classes_as_table(classes, table_width, table_format):
"""
TODO: Future extend to display classes as a table, showing the
properties for each class. This will display the properties that exist in
subclasses. The temp output
so we could create the function is to just output as mof
Display classes as a table.
"""
# pylint: disable=unused-argument

# TODO(#249): Display classes as a table, and no longer just as MOF.
for class_ in classes:
click.echo(class_.tomof())

Expand Down

0 comments on commit 53f1eaf

Please sign in to comment.