mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-07-05 09:22:29 +02:00
1fbd99d52c
- Introduced a new utility function, _to_json_safe, to ensure companion preferences are JSON-serializable, handling various data types including enums and dataclasses. - Updated the RepeaterCompanionBridge to use the new serialization method when saving preferences to SQLite. - Modified SQLiteHandler to ensure companion_hash is consistently converted to a string before database operations. - Enhanced error handling for preference persistence in the RepeaterCompanionBridge.