forked from flux-framework/flux-accounting
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flux-account-priority-update: use column names
Problem: The flux-account-priority-update script uses row indexes to build the data that is sent to the priority plugin, but this is problematic because it relies on internal knowledge of the DB schema and it is unreadable. Use the conn.row_factory property to access row values by column name instead of by index.
- Loading branch information
Showing
1 changed file
with
19 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters