국내주식 시세조회의 업종명 버그 수정 #49
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🛠️ PR Summary
🌟 요약
어떤 것이 변경되었나요? 간략히 설명해주세요.
국내주식 시세조회의 업종명이 없을때 발생하는 버그를 수정했습니다.
📊 주요 변경 사항
주요 변경 사항을 적어주세요.
pykis/api/stock/quote.py
에서 sector_name을 optional로 변경하고bstp_kor_isnm
필드의 기본값을 None로 설정했습니다.pykis/api/stock/info.py
의 repr에서 잘못된 속성eng_name
를name_eng
로 변경했습니다.🎯 목적 및 영향
목적: 왜 이 PR이 필요한가요?
업종명이 없는 종목의 조회시 오류가 발생하는 문제를 해결했습니다.
영향: 이 변경 사항이 어떤 영향을 미치나요?
국내주식 시세조회 및
KisStockInfo
의 repr가 정상적으로 작동합니다.