- Updated the `ACTIVITY_SESSION_METRICS_EAV_AGENT_GUIDE` with new details on CSV import processes and EAV handling, improving documentation clarity. - Refactored the `_import_activity` function to utilize `apply_activity_mapped_column_aliases`, ensuring proper mapping of training parameters and reducing redundancy. - Introduced validation for numeric bounds in the `activity_csv_registry_updates_from_mapped` function, enhancing data integrity during CSV imports. - Added new utility functions to manage column aliasing and streamline the upsert process for session metrics, preventing duplicate entries. - Implemented unit tests to validate the new aliasing logic and ensure correct behavior during session metrics updates. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| core.py | ||
| executor.py | ||
| field_units.py | ||
| import_errors.py | ||
| import_row_processing.py | ||
| mapping_suggest.py | ||
| module_registry.py | ||
| permissions.py | ||
| sleep_apple_import.py | ||
| template_validator.py | ||
| type_converter.py | ||