API reference
python:astx:astx.NullableType
class NullableType
NullableType(value_type: DataType)
Source: packages/astx/src/astx/nullable.py:22
Declared as: python:astx:astx.nullable.NullableType
A scalar value paired with an explicit validity bit.
Attributes
- value_type — Type: DataType
Methods
-
__init__ — Initialize a nullable scalar type.
-
__str__ — Render the nullable type.
-
get_struct — Render the node with all typed children.