Add deflator "Unable to generate unwrapper for {schema}" message

This commit is contained in:
2026-02-18 19:34:19 +03:00
parent 89c4bcae90
commit bc9da11db4

View File

@@ -257,6 +257,7 @@ class SchemaDeflatorGenerator:
recurcive_types |= arg_rec
ret_unw = UnionUnwrapping(union_unwraps)
else:
print(f'Unable to generate unwrapper for {schema} -- origin {origin} is not supported')
raise NotImplementedError
else:
if schema is int: