[ 
https://issues.apache.org/jira/browse/AVRO-3571?focusedWorklogId=788924&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-788924
 ]

ASF GitHub Bot logged work on AVRO-3571:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/Jul/22 10:32
            Start Date: 08/Jul/22 10:32
    Worklog Time Spent: 10m 
      Work Description: kojiromike commented on code in PR #1756:
URL: https://github.com/apache/avro/pull/1756#discussion_r916688997


##########
lang/py/avro/io.py:
##########
@@ -419,7 +413,7 @@ class BinaryEncoder:
 
     def __init__(self, writer: IO[bytes]) -> None:
         """
-        writer is a Python object on which we can call write.
+        Writer is a Python object on which we can call write.

Review Comment:
   Since this refers to the "writer" parameter, it should remain lowercase. But 
you could consider backticks, as in…
   
   ```
           """
           `writer` is an object on which we can call `write`.
           """
   ```





Issue Time Tracking
-------------------

    Worklog Id:     (was: 788924)
    Time Spent: 1h 20m  (was: 1h 10m)

> Python code refactor and rearrangement
> --------------------------------------
>
>                 Key: AVRO-3571
>                 URL: https://issues.apache.org/jira/browse/AVRO-3571
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: python
>            Reporter: Diptonil Roy
>            Priority: Minor
>              Labels: beginner, easyfix, newbie, pull-request-available
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> The changes made are:
>  # Code altered according to PEP 8 conventions. Files changed are: io.py, 
> constants.py, schema.py, codecs.py, datafile.py and compatibility.py.
>  # General constants INT_MIN_VALUE, INT_MAX_VALUE, LONG_MIN_VALUE & 
> LONG_MAX_VALUE shifted from schema.py to constants.py for clarity and better 
> organization.
> (This is my first attempt to contribute to any open source project, not only 
> this project. If I have made any errors or have misunderstood any step, 
> please forgive me. I would be happy to adhere to any suggestions)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to