Skip to content

Commit

Permalink
Remove unnecessary type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
wence- committed May 6, 2022
1 parent 6300e6d commit 9e855a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/cudf/cudf/core/dtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ def from_pandas(cls, pd_dtype: pd.IntervalDtype) -> "IntervalDtype":
) # TODO: needs `closed` when we upgrade Pandas

def serialize(self) -> Tuple[dict, list]:
header: Dict[str, Any] = {
header = {
"type-serialized": pickle.dumps(type(self)),
"fields": pickle.dumps((self.subtype, self.closed)),
"frame_count": 0,
Expand Down

0 comments on commit 9e855a5

Please sign in to comment.