unexpected_field
No overview available.
def unexpected_field(
field_name: string,
expected_fields: list
) - > null
Raises a ValueError when an unexpected field is encountered during data processing or validation.
Parameters
| Name | Type | Description |
|---|---|---|
| field_name | string | The name of the field that was not expected in the input data. |
| expected_fields | list | A collection of valid field names that were expected instead. |
Returns
| Type | Description |
|---|---|
null | This function does not return a value as it always raises an exception. |