You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b548ca1
Browse filesBrowse the repository at this point in the historyBrowse files
Say "type not supported" when no adapter ran for a bind param
Binding a value of an unsupported type with no registered adapter and no
__conform__ hook (e.g. Decimal) raised a DataError claiming "adapter for
X produced non-primitive X" — but no adapter ever ran, so the message
sent operators hunting for a buggy adapter that does not exist. Track
whether an adapter or __conform__ actually transformed the value and emit
"type X is not supported" in the no-transform case (mirroring stdlib),
reserving the "adapter for X produced ..." wording for a real adapter
that returned a non-primitive. The DataError class is unchanged.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments