Commit Graph

530 Commits

Author SHA1 Message Date
Henry Ruhs ef47b17a4a rename args store to capability store (#1048)
* rename args store to capability store

* fix lint and remove unused types
2026-05-11 16:35:16 +02:00
Harisreedhar 7c078644ad Improve tests (#1047)
* improve tests

* does it hurt someone to have crazy numbers?

---------

Co-authored-by: henryruhs <info@henryruhs.com>
2026-05-11 16:35:16 +02:00
harisreedhar 47bdcd67f1 fix pre-check issue 2026-05-11 16:35:16 +02:00
harisreedhar f83ff29116 remove pre_check 2026-05-11 16:35:16 +02:00
harisreedhar 91067c6394 remove program 2026-05-11 16:35:16 +02:00
harisreedhar 1e8c042473 remove while True and websocket code 2026-05-11 16:35:16 +02:00
harisreedhar 1f0af5906d hopefully fix test 2026-05-11 16:35:16 +02:00
harisreedhar 887a6ac1c7 pre_check() on test instead 2026-05-11 16:35:16 +02:00
harisreedhar 4338d16d17 pre_check() when command == api 2026-05-11 16:35:16 +02:00
harisreedhar a21c23173e fix naming and remove unwanted state initialization 2026-05-11 16:35:16 +02:00
harisreedhar cd3f6f2224 init 'face_selector_mode' to many 2026-05-11 16:35:16 +02:00
harisreedhar f2d9eb7f0b remove temp storing to disk 2026-05-11 16:35:16 +02:00
harisreedhar c59596e096 update exception 2026-05-11 16:35:16 +02:00
harisreedhar 4a0f4bcb9a update test 2026-05-11 16:35:16 +02:00
harisreedhar b5a89971c4 process image 2026-05-11 16:35:16 +02:00
Harisreedhar 53845585ef Feat/refactor args (#1045)
* follow the new argument naming convention

* revert

* use get_xxx_arguments

* Simple fix Args

* Fix more stuff

---------

Co-authored-by: henryruhs <info@henryruhs.com>
2026-05-11 16:35:16 +02:00
henryruhs 16d2fbf6f2 fix args store 2026-05-11 16:35:16 +02:00
henryruhs 7a6ef94b26 bump dependencies 2026-05-11 16:35:16 +02:00
henryruhs 9486750f38 allow register_arguments to be nested, fix types, adjust processors 2026-05-11 16:35:16 +02:00
harisreedhar 1181307a0e reformat test_api_state.py 2026-05-11 16:35:16 +02:00
harisreedhar e7a28cf072 introduce type ArgumentSet 2026-05-11 16:35:16 +02:00
harisreedhar ecc280a93f remove unwanted assertions 2026-05-11 16:35:16 +02:00
harisreedhar aa83142ab5 remove value None as default 2026-05-11 16:35:16 +02:00
harisreedhar 2a60280182 remove value None as default 2026-05-11 16:35:16 +02:00
harisreedhar b9c11815f8 add test_api_capabilities.py 2026-05-11 16:35:16 +02:00
henryruhs accb615181 add get_xxx_set to args store 2026-05-11 16:35:16 +02:00
henryruhs 5f70cbd0a3 fix spacing quite a bit 2026-05-11 16:35:16 +02:00
harisreedhar 485041c5cc conditional choices, speaking Alias ArgumentValue, different formatting for program.py 2026-05-11 16:35:16 +02:00
harisreedhar e16f5bca11 fix test 2026-05-11 16:35:16 +02:00
harisreedhar 02ba86308e add capabilities 2026-05-11 16:35:16 +02:00
henryruhs fddb5c927b remove unused method 2026-05-11 16:35:16 +02:00
harisreedhar f0dc10a2f5 add capabilities endpoint 2026-05-11 16:35:16 +02:00
harisreedhar 53d0ed0e1c hopefully fix CI 2026-05-11 16:35:16 +02:00
harisreedhar f71bbab71e remove has methods 2026-05-11 16:35:16 +02:00
harisreedhar 300b4f73a1 add has_amd_execution_provider and has_nvidia_execution_provider 2026-05-11 16:35:16 +02:00
harisreedhar 7e00035fdd fix cache 2026-05-11 16:35:16 +02:00
harisreedhar f475ec4bbc remove try block, make detect_graphic_devices stateless, cosmetics 2026-05-11 16:35:16 +02:00
harisreedhar 9e63832740 fix test 2026-05-11 16:35:16 +02:00
harisreedhar ef0bfe81e2 add amd metric 2026-05-11 16:35:16 +02:00
harisreedhar f2f09fc215 move detect_execution_devices to system.py 2026-05-11 16:35:16 +02:00
harisreedhar 73a298cd97 add processor metric 2026-05-11 16:35:16 +02:00
harisreedhar b1947ffaa2 add network metrics 2026-05-11 16:35:16 +02:00
harisreedhar b7e80bdafa fix test 2026-05-11 16:35:16 +02:00
harisreedhar a94015c5ee add memory metrics 2026-05-11 16:35:15 +02:00
harisreedhar 14b1ed6b76 add memory metrics 2026-05-11 16:35:12 +02:00
harisreedhar 2624c281eb move metrics.py to endpoints 2026-05-11 16:35:12 +02:00
harisreedhar bae6169274 some cosmetics 2026-05-11 16:35:12 +02:00
harisreedhar 9a27c8346c add disk to metric test 2026-05-11 16:35:12 +02:00
harisreedhar e4b8adb218 change unit to GB 2026-05-11 16:35:12 +02:00
harisreedhar 4cd588ebc8 add drive_path 2026-05-11 16:35:12 +02:00