-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typing - event.py #80
base: main
Are you sure you want to change the base?
Conversation
jaehyeonpy
commented
Aug 31, 2023
- PEP 484 참고하여 작업하였습니다.
- docstrings에 타입 힌트 내용이 포함되어 있습니다.
- 모든 테스트 통과했습니다.
- Github actions 상에서도 잘 동작합니다.
…ython-mysql-replication into feature/modify-docstrings
…ty in some events
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
꼼꼼하게 typing 잘 적용해주신 것 같습니다!! 고생 많으셨습니다~~~ 👍🏻👍🏻👍🏻👍🏻
@@ -3,8 +3,12 @@ | |||
import binascii | |||
import struct | |||
import datetime | |||
import pymysql | |||
from pymysql.protocol import MysqlPacket |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Attributes: | ||
position: Position inside next binlog | ||
next_binlog: Name of next binlog file | ||
For more information: `[see details] <https://dev.mysql.com/doc/dev/mysql-server/latest/classbinary__log_1_1Rotate__event.html>`_. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
어디는 see details, 어디는 see {클래스명}이네요.
링크를 좀 더 명확히 설명한다는 취지에 공감이 되어서 후자가 좋아보이네요.
이미 머지되어서 변경해주실 필요는 없고 피드백만 드려요~