AlenkaF commented on PR #47139:
URL: https://github.com/apache/arrow/pull/47139#issuecomment-3116527811
@rmnskb one small issue to fix and then we are good to go! =)
```python
______________________ [doctest] pyarrow.types.TypesEnum
_______________________
057
058 Examples
059 --------
060 >>> import pyarrow as pa
061 >>> from pyarrow.types import TypesEnum
062 >>> int8_field = pa.field('int8_field', pa.int8())
063 >>> int8_field.type.id == TypesEnum.INT8
064 True
065
066 >>> fixed_size_list = pa.list(pa.uint16(), 3)
UNEXPECTED EXCEPTION: AttributeError("module 'pyarrow' has no attribute
'list'")
Traceback (most recent call last):
File "/opt/conda/envs/arrow/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest pyarrow.types.TypesEnum[4]>", line 1, in <module>
AttributeError: module 'pyarrow' has no attribute 'list'. Did you mean:
'list_'?
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]