Skip to content
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 - row_event.py #70

Closed
wants to merge 4 commits into from
Closed

typing - row_event.py #70

wants to merge 4 commits into from

Conversation

suhwan-cheon
Copy link

@suhwan-cheon suhwan-cheon commented Aug 28, 2023

  • row_event.py 파일에 typing 적용하였습니다.
  • docstring 및 주석 업데이트 하였습니다.
  • 다른 PEP 규정에 맞춰 추가로 수정된 부분이 있습니다.
  • python 3.7, 3.9, 3.11 버전 테스트 하였습니다.

@suhwan-cheon suhwan-cheon added the 2조 열혈 2조 label Aug 28, 2023
@suhwan-cheon suhwan-cheon self-assigned this Aug 28, 2023
@suhwan-cheon suhwan-cheon linked an issue Aug 28, 2023 that may be closed by this pull request
Copy link

@dongwook-chan dongwook-chan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

body

Copy link

@dongwook-chan dongwook-chan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생 많으셨습니다! 대부분의 경우에서 타이핑 잘 처리해주신 것 같습니다 :)

table_map: Dict[int, Any],
ctl_connection: Any,
**kwargs: Any
) -> None:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

인자로서 클래스의 인스턴스가 기대되는 경우, 해당 클래스를 type annotation으로 추가해주세요.
실제로 어떤 type이 올 수 있는 경우가 아니라면 Any는 어떤 유용한 정보도 추가로 제공하지 않습니다.

아래 추가해주신 Any에도 해당되는 내역이며 중복 코멘트는 하지 않겠습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2조 열혈 2조
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add typing
2 participants