| 4383 | |
| 4384 | |
| 4385 | class DummyExtensionType(pa.ExtensionType): |
| 4386 | |
| 4387 | def __init__(self): |
| 4388 | super().__init__(pa.int64(), |
| 4389 | 'pyarrow.tests.test_pandas.DummyExtensionType') |
| 4390 | |
| 4391 | def __arrow_ext_serialize__(self): |
| 4392 | return b'' |
| 4393 | |
| 4394 | @classmethod |
| 4395 | def __arrow_ext_deserialize__(cls, storage_type, serialized): |
| 4396 | assert serialized == b'' |
| 4397 | assert storage_type == pa.int64() |
| 4398 | return cls() |
| 4399 | |
| 4400 | |
| 4401 | def PandasArray__arrow_array__(self, type=None): |
no outgoing calls