Adding upstream version 0.12.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
d887bee5ca
commit
148efc9122
69 changed files with 12923 additions and 0 deletions
stubs/pyarrow
32
stubs/pyarrow/lib.pyi
Normal file
32
stubs/pyarrow/lib.pyi
Normal file
|
@ -0,0 +1,32 @@
|
|||
from . import Date32Type, Date64Type, Scalar, TimestampType
|
||||
|
||||
class ArrowException(Exception): ...
|
||||
class ArrowInvalid(ValueError, ArrowException): ...
|
||||
class ArrowMemoryError(MemoryError, ArrowException): ...
|
||||
class ArrowKeyError(KeyError, Exception): ...
|
||||
class ArrowTypeError(TypeError, Exception): ...
|
||||
class ArrowNotImplementedError(NotImplementedError, ArrowException): ...
|
||||
class ArrowCapacityError(ArrowException): ...
|
||||
class ArrowIndexError(IndexError, ArrowException): ...
|
||||
class ArrowSerializationError(ArrowException): ...
|
||||
class ArrowCancelled(ArrowException): ...
|
||||
|
||||
ArrowIOError = IOError
|
||||
|
||||
class Date32Scalar(Scalar):
|
||||
@property
|
||||
def type(self) -> Date32Type: ...
|
||||
@property
|
||||
def value(self) -> int: ...
|
||||
|
||||
class Date64Scalar(Scalar):
|
||||
@property
|
||||
def type(self) -> Date64Type: ...
|
||||
@property
|
||||
def value(self) -> int: ...
|
||||
|
||||
class TimestampScalar(Scalar):
|
||||
@property
|
||||
def type(self) -> TimestampType: ...
|
||||
@property
|
||||
def value(self) -> int: ...
|
Loading…
Add table
Add a link
Reference in a new issue