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

Changes from development #125

Merged
merged 29 commits into from
Feb 17, 2025
Merged

Changes from development #125

merged 29 commits into from
Feb 17, 2025

Conversation

nmassey001
Copy link
Contributor

No description provided.

Will-Cross1 and others added 29 commits October 7, 2024 08:55
got the functionality for filtering by user, group and state working
now displayes result of database query
can view simply or detailed

can now order the in descending or ascending by creation time

cleaned up the code and changed some variable names to be better
there are now options with start and end dates as well as a select by id choice

you can now also filter by record state
Sundered the query_monitor_db function into one that opens the database and another that queries it
(which makes it easier to mock the database for testing)

added a filter by transaction_id that has the same functionality as filtering by id

added displaying group to simple view
currently mocks the monitor database and has a way to put records in it to be queried by the test code
It still needs to be checked for formatting using black
added a message to each pytest to explain briefly what it is

ran black to format the files
moved user error checking to another function
updated that formatting function to use SystemExit and and added "Error:" to the front of two of the messages
updated the pytests to account for the error message and code success changes

moved create message to another function

added a function to turn the monitor models into dictionaries to make it easier in the FastAPI web page

updated the complex and simple prints for the dictionary
Created command line tool to output status of all jobs in NLDS
@nmassey001 nmassey001 merged commit 0cf237c into main Feb 17, 2025
4 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants