-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use information from signal backend to populate DataKey * Add limits for all signals * Revert adding limits to test records, refactor tests * Refactor tests for DBR_DOUBLE backing * Simplify metadata handling * enum_choices instantiate once * Descriptor -> DataKey * Reduce metadata to just precision and units * Restore lost commits * Add explicit bool type * Isolate boolean test behaviour * Replace Descriptor return types with DataKay * Express dict returns with literals * Undo descriptor_rename * Replace descriptor method with get_datakey * foo * Restore source to get_datakey * Trim changed lines * lint * rename descriptor * Add handling for propagating limits from underlying record (#370) * unprivate variable * Add limits handling for PVA and CA * Tests for limits * Limits are only ever type float * Only add limits if set, used TypedDict * Revert nan, add more tests * Add limits and warnings to ioc * Remove missed descriptor * Re-remove string enum test * fix mistaken logic change in ca converter * Ruff format * Remove unused CaArrayConverter * Update tests/epics/test_signals.py Co-authored-by: DiamondJoseph <[email protected]> * Change PvaBoolConverter back to PvaEmumBoolConverter * Put the CaArrayConverter back in * Only overide value in CaArrayConverter * Update docstrings * Simplify PVA limits --------- Co-authored-by: Joseph Ware <[email protected]> Co-authored-by: DiamondJoseph <[email protected]>
- Loading branch information
1 parent
b59d1e2
commit 20a9b85
Showing
5 changed files
with
408 additions
and
103 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
Oops, something went wrong.