fastcs.util#
Members
Converts numpy types to fastcs types for widget creation. |
|
Converts string from snake case to Pascal case. |
|
Validate |
- fastcs.util.snake_to_pascal(name: str) str[source]#
Converts string from snake case to Pascal case. If string is not a valid snake case it will be returned unchanged
- fastcs.util.numpy_to_fastcs_datatype(np_type) DataType[source]#
Converts numpy types to fastcs types for widget creation. Only types important for widget creation are explicitly converted
- fastcs.util.validate_hinted_attributes(controller: BaseController)[source]#
Validate
Attributetype-hints match dynamically intropected instancesFor each type-hinted attribute, validate that a corresponding instance exists in the controller with the correct access mode and datatype.