Skip to content

Commit

Permalink
fix broken type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Jul 19, 2023
1 parent 4c5db73 commit ab46e0b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from typing import TYPE_CHECKING, cast

import numpy as np
import numpy.typing as npt
import pyarrow as pa

if TYPE_CHECKING:
Expand Down Expand Up @@ -132,7 +131,7 @@ def _build_union_array_from_rotation(rotation: Rotation3D | None, type_: pa.Dens
return _build_dense_union(type_, rotation_discriminant, stored_rotation)


def _optional_mat3x3_to_arrow(mat: Mat3x3 | None) -> npt.NDArray[np.float32]:
def _optional_mat3x3_to_arrow(mat: Mat3x3 | None) -> pa.Array:
from .. import Mat3x3Type

if mat is None:
Expand Down

0 comments on commit ab46e0b

Please sign in to comment.