-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add User Processing Stats, User List, and OCR-D Processor Discovery E…
…ndpoints (#19) * Add /admin/users endpoint with PYUserInfo model * Fix type hint for Python 3.8 compatibility in db_get_all_user_accounts * Add GET /admin/processing_stats/{user_id} endpoint * Add GET /discovery/processors endpoint * Fix: Use List from typing for Python 3.8 compatibility * Fix: Import ocrd json file from constants. * Fix: Import error * Add GET /discovery/processor/{processor_name} endpoint * Refactor db_get_all_user_accounts to return an empty list and remove unnecessary try-except block in admin_panel.py. * Update src/server/operandi_server/routers/admin_panel.py Co-authored-by: Mehmed Mustafa <mehmed.n.mustafa@gmail.com> * Update src/server/operandi_server/routers/discovery.py Co-authored-by: Mehmed Mustafa <mehmed.n.mustafa@gmail.com> * Update src/server/operandi_server/routers/discovery.py Co-authored-by: Mehmed Mustafa <mehmed.n.mustafa@gmail.com> * Update: log the exception with logger --------- Co-authored-by: Mehmed Mustafa <mehmed.n.mustafa@gmail.com>
- Loading branch information
1 parent
602636e
commit 56da368
Showing
6 changed files
with
148 additions
and
2 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
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
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
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
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
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