common.normalizers.utils
explicit_normalizers
@with_config(spec=NormalizersConfiguration)
def explicit_normalizers(
naming: str = dlt.config.value,
json_normalizer: TJSONNormalizer = dlt.config.value
) -> TNormalizersConfig
Gets explicitly configured normalizers - via config or destination caps. May return None as naming or normalizer
import_normalizers
@with_config
def import_normalizers(
normalizers_config: TNormalizersConfig,
destination_capabilities: DestinationCapabilitiesContext = None
) -> Tuple[TNormalizersConfig, NamingConvention,
Type[DataItemNormalizer[Any]]]
Imports the normalizers specified in normalizers_config
or taken from defaults. Returns the updated config and imported modules.
destination_capabilities
are used to get max length of the identifier.