[ 
https://issues.apache.org/jira/browse/ARROW-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16541519#comment-16541519
 ] 

Krisztian Szucs commented on ARROW-2760:
----------------------------------------

See the second block 
https://cython.readthedocs.io/en/latest/src/userguide/extension_types.html#properties
 
{code}
cdef class Spam:

    property cheese:

        "A doc string can go here."

        def __get__(self):
            # This is called when the property is read.
            ...

        def __set__(self, value):
            # This is called when the property is written.
            ...

        def __del__(self):
            # This is called when the property is deleted.
{code}
syntax is deprecated.

> [Python] Remove legacy property definition syntax from parquet module and 
> test them
> -----------------------------------------------------------------------------------
>
>                 Key: ARROW-2760
>                 URL: https://issues.apache.org/jira/browse/ARROW-2760
>             Project: Apache Arrow
>          Issue Type: Improvement
>            Reporter: Krisztian Szucs
>            Assignee: Krisztian Szucs
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.10.0
>
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to