mirror of
https://github.com/hanzo-ds/driver.git
synced 2026-10-30 20:32:40 +00:00
8 lines
169 B
Python
8 lines
169 B
Python
|
|
|
|
def create_nullable_column(spec, column_by_spec_getter):
|
|
inner = spec[9:-1]
|
|
nested = column_by_spec_getter(inner)
|
|
nested.nullable = True
|
|
return nested
|