"""Get an instance of the specified source type.""" # Validate source_config if not isinstance(source_config, SourceConfig): raise TypeError(f"Source configuration ...