BLANK
- BLANK(data_type=None)[source]
Returns a blank value of the specified data type.
This function creates a blank entry in a model or formula. By default, the blank value has type NULL, but a specific data type can be provided. Useful for setting default values or error cases.
- Parameters:
data_type (
BaseDataType|None) – Optional. The data type of the blank value. Defaults to NULL if not specified.- Return type:
- Returns:
A blank value of the specified data type.
Supported types:
ANY
Examples
Creating a generic blank:
BLANK() # Returns a NULL blank. Cannot be directly assigned to fields, # but can be used in other formulas.
Creating a blank of a specific type:
BLANK(DataType.STRING) # Returns a blank of type STRING. Can be assigned to a field or named value