Skip to content

Commit

Permalink
metadata on a schema can be passed as str (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusvniekerk authored Oct 23, 2024
1 parent 1195f94 commit 0e7eed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyarrow-stubs/__lib_pxi/types.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ def ensure_type(ty: Literal["duration[ns]"]) -> DurationType[Literal["ns"]]: ...
def ensure_type(ty: Literal["month_day_nano_interval"]) -> MonthDayNanoIntervalType: ...
def schema(
fields: Iterable[Field] | Iterable[tuple[str, DataType]] | Mapping[str, DataType],
metadata: dict[bytes, bytes] | None = None,
metadata: dict[bytes | str, bytes | str] | None = None,
) -> Schema: ...
def from_numpy_dtype(dtype: np.dtype) -> DataType: ...
def is_boolean_value(obj: Any) -> bool: ...
Expand Down

0 comments on commit 0e7eed7

Please sign in to comment.