process_sample#

process_sample(*, task_type: TaskType, schema_validator: Callable[[...], Any], data_columns: Dict[str, str], sample_id: str, values: Optional[Dict[str, Any]] = None, prediction: Optional[Union[str, float]] = None, timestamp: Optional[Union[datetime, int, str]] = None, prediction_proba: Optional[Sequence[float]] = None, model_classes: Optional[Sequence[str]] = None) Dict[str, Any]#

Prepare and validate sample dictionary instance.