FinalizerSettings
Settings for Finalizer. Values fall back through three levels: document → SDK → built-in default. Writes target the document only when set on a document’s settings, otherwise the SDK globally when set on SdkSettings.
Tags: Advanced, Vision
from nutrient_sdk import FinalizerSettingsConstruction
FinalizerSettings is accessed through a Document instance for per-document overrides, or via SdkSettings for SDK-wide defaults.
# Per-document overridewith Document.open("input.pdf") as doc: settings = doc.settings.finalizer_settings settings.some_field = new_value # mutate fields directly
# SDK-wide default (applies to all documents)SdkSettings.finalizer_settings.some_field = new_valueSettings are configured by writing to fields on the returned object. The settings property itself cannot be reassigned — doc.settings.finalizer_settings = other_settings is rejected.
Properties
enable_validation
@propertydef enable_validation(self) -> bool
@enable_validation.setterdef enable_validation(self, value: bool) -> NoneIndicates whether validation of the final document layout is enabled.
Type: bool
Default: true
minimum_document_confidence
@propertydef minimum_document_confidence(self) -> float
@minimum_document_confidence.setterdef minimum_document_confidence(self, value: float) -> NoneMinimum overall confidence threshold for the final document (0.0 - 1.0). Documents with average confidence below this threshold will trigger a validation warning.
Type: float
Default: 0.6f