API reference
python:astx:astx.NullFill
class NullFill
NullFill(value: Expr, replacement: Expr, loc: SourceLocation = NO_SOURCE_LOCATION)
Source: packages/astx/src/astx/nullable.py:183
Declared as: python:astx:astx.nullable.NullFill
Replace nulls with an eagerly evaluated non-null scalar.
Attributes
-
value — Type: Expr
-
replacement — Type: Expr
-
type_ — Type: DataType
Methods
-
__init__ — Initialize a null replacement.
-
get_struct — Render the node with all typed children.