Skip to content

Commit 76b236d

Browse files
mbwhitegiospada
authored andcommitted
fix: add class name for nullability
Signed-off-by: MBWhite <[email protected]>
1 parent 2bae8ec commit 76b236d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/substrait/extension_registry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ def _check_nullability(check_nullability,parameterized_type,covered,kind) -> boo
117117
# The ANTLR context stores a Token called ``isnull`` – it is
118118
# present when the type is declared as nullable.
119119
nullability = (
120-
Nullability.NULLABILITY_NULLABLE
120+
Type.Nullability.NULLABILITY_NULLABLE
121121
if getattr(parameterized_type, "isnull", None) is not None
122-
else Nullability.NULLABILITY_REQUIRED
122+
else Type.Nullability.NULLABILITY_REQUIRED
123123
)
124124
# The protobuf message stores its own enum – we compare the two.
125125
covered_nullability = getattr(

0 commit comments

Comments
 (0)