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

list-banks: use AccountingFormatter class #524

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

cmoussa1
Copy link
Member

@cmoussa1 cmoussa1 commented Nov 1, 2024

Problem

The list-banks command defines its own formatting for the output of the command, but the Python bindings now has its own common formatter and SQL utilities.


This PR edits the list-banks command to make use of the new formatter and external SQLite utilities. It also changes the default for the --fields optional argument to be None if it is not specified.

@cmoussa1 cmoussa1 added improvement Upgrades to an already existing feature low priority items that can be worked on at a later date labels Nov 1, 2024
@cmoussa1 cmoussa1 force-pushed the restructure.list-bank branch from 0ec0fe0 to 5007c4e Compare November 11, 2024 18:22
@cmoussa1 cmoussa1 requested a review from wihobbs November 11, 2024 18:28
Copy link
Member

@wihobbs wihobbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup!

Problem: The list-banks command defines its own formatting for the
output of the command, but the Python bindings now has its own common
formatter and SQL utilities.

Edit the list-banks command to make use of the new formatter and
external Python utilities. Change the default for the --fields optional
argument to be None if it is not specified.
@cmoussa1 cmoussa1 force-pushed the restructure.list-bank branch from 5007c4e to 6c0dcfb Compare November 19, 2024 16:14
@cmoussa1
Copy link
Member Author

Thanks @wihobbs!! Rebased to catch up. Setting MWP here

@mergify mergify bot merged commit f89b9a2 into flux-framework:master Nov 19, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Upgrades to an already existing feature low priority items that can be worked on at a later date merge-when-passing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants