micro-nova / support_tunnel

A secure implementation of a support tunnel infrastructure
GNU General Public License v3.0
3 stars 1 forks source link

coerce UUIDs better in the device context #20

Closed rtertiaer closed 3 months ago

rtertiaer commented 3 months ago

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.)