Details
-
Task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.11.2
Description
One of the issues preventing progress on AVRO-2921 is that it's difficult to add type hints to properties when they're expressed like this:
class Thing:
x = property(lambda self: self._x)
as they often are in the python source code. So I would like to refactor all the cases where this occurs to the decorator style, like this
class Thing: @property def x(self): return self._x
This will make it easier to add type hints to these methods later on.
Attachments
Issue Links
- links to