jonded94 commented on code in PR #45471: URL: https://github.com/apache/arrow/pull/45471#discussion_r1962056822
########## python/pyarrow/scalar.pxi: ########## @@ -148,7 +149,26 @@ cdef class Scalar(_Weakrefable): def __reduce__(self): return scalar, (self.as_py(), self.type) - def as_py(self): + def as_py(self, *, maps_as_pydicts=None): + """ + Return this value as a Python representation. + + Parameters + ---------- + maps_as_pydicts : str, optional, default `None` + Valid values are `None`, 'lossy', or 'strict'. Review Comment: This is the base class, I would include an explanation here, as `List`, `Map`, `Struct`, ... are nested Scalars which inherit from this class. But let me know what you think. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org