yasuki_core.install.utils.normalize_empty#

normalize_empty(value)[source]#

Convert empty strings and dash placeholders to None for SQL NULL.

Parameters:
valuestr or None

Value to normalize

Returns:
normalizedstr or None

None if value is empty/dash, otherwise original value