When i try to insert blob sqlanydb treat bytes as A_STRING and try to decode bynary data.
In fact in
mk_assign() string elif isinstance(value, Binary) on type bytes never give True so it's fallback to A_STRING.
I've changes it to elif isinstance(value, bytes) and al works perfect.