Skip to content

Commit

Permalink
Remove chrono.pxd, use existing CTimePoint instead
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Aug 30, 2024
1 parent 0b6d128 commit 0844d3e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 41 deletions.
1 change: 0 additions & 1 deletion python/pyarrow/_flight.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ from pyarrow.lib cimport *
from pyarrow.lib import (ArrowCancelled, ArrowException, ArrowInvalid,
SignalStopHandler)
from pyarrow.lib import as_buffer, frombytes, timestamp, tobytes
from pyarrow.includes.chrono cimport duration_cast, nanoseconds
from pyarrow.includes.libarrow_flight cimport *
from pyarrow.ipc import _get_legacy_format_default, _ReadPandasMixin
import pyarrow.lib as lib
Expand Down
38 changes: 0 additions & 38 deletions python/pyarrow/includes/chrono.pxd

This file was deleted.

4 changes: 2 additions & 2 deletions python/pyarrow/includes/libarrow_flight.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

from pyarrow.includes.common cimport *
from pyarrow.includes.libarrow cimport *
from pyarrow.includes.chrono cimport time_point
from pyarrow.includes.libarrow_python cimport CTimePoint


cdef extern from "arrow/flight/api.h" namespace "arrow" nogil:
Expand Down Expand Up @@ -135,7 +135,7 @@ cdef extern from "arrow/flight/api.h" namespace "arrow" nogil:

CTicket ticket
vector[CLocation] locations
optional[time_point] expiration_time
optional[CTimePoint] expiration_time
c_string app_metadata

bint operator==(CFlightEndpoint)
Expand Down

0 comments on commit 0844d3e

Please sign in to comment.