This PR ensures the DeviceTunnel instance can be properly inserted into the database. Prior, it appears like one of the underlying libraries was doing coercion for us and it "just worked" - but something has shifted, and this feels more explicit anyhow. This is tested and functions.
One more of these and I'm pinning every version in requirements.txt, dependabot alerts about security be damned. (The reason we don't right now is simply because we want the newest available for our very old distro - we can't simply track latest & greatest, only latest compatible, which is a pain to hand-manage. When https://github.com/micro-nova/AmpliPi/issues/599 lands, we should pin and let dependabot rip.)
This PR ensures the DeviceTunnel instance can be properly inserted into the database. Prior, it appears like one of the underlying libraries was doing coercion for us and it "just worked" - but something has shifted, and this feels more explicit anyhow. This is tested and functions.
One more of these and I'm pinning every version in
requirements.txt
, dependabot alerts about security be damned. (The reason we don't right now is simply because we want the newest available for our very old distro - we can't simply track latest & greatest, only latest compatible, which is a pain to hand-manage. When https://github.com/micro-nova/AmpliPi/issues/599 lands, we should pin and let dependabot rip.)