- Modified `_resolve_training_type_for_activity` to accept a database cursor, improving efficiency and avoiding potential deadlocks during CSV imports. - Introduced `get_training_type_for_activity_with_cursor` to handle training type resolution with an existing cursor, streamlining database interactions. - Updated related calls in the activity import logic to utilize the new function, ensuring consistent behavior across the application. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| core.py | ||
| executor.py | ||
| field_units.py | ||
| import_row_processing.py | ||
| mapping_suggest.py | ||
| module_registry.py | ||
| permissions.py | ||
| sleep_apple_import.py | ||
| type_converter.py | ||