Skip to content

Conversation

Soju06
Copy link
Owner

@Soju06 Soju06 commented Dec 10, 2024

๐Ÿ› ๏ธ PR Summary

๐ŸŒŸ ์š”์•ฝ

์–ด๋–ค ๊ฒƒ์ด ๋ณ€๊ฒฝ๋˜์—ˆ๋‚˜์š”? ๊ฐ„๋žตํžˆ ์„ค๋ช…ํ•ด์ฃผ์„ธ์š”.

  • ํ”„๋กœํผํ‹ฐ ์บ์‹ฑ์„ Python์˜ ๊ธฐ๋ณธ functools๋กœ ๋ณ€๊ฒฝํ•˜์˜€์Šต๋‹ˆ๋‹ค.
  • KisChartBar์˜ ํƒ€์ดํ•‘ ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ–ˆ์Šต๋‹ˆ๋‹ค.
  • ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์˜ ์‹คํ–‰ ๊ฒฝ๋กœ๋ฅผ ํ”„๋กœ์ ํŠธ์˜ ๋ฃจํŠธ๋กœ ์„ค์ •ํ•˜์˜€์Šต๋‹ˆ๋‹ค.
  • kis_repr ๋ฐ thread_safe ๋ฐ์ฝ”๋ ˆ์ดํ„ฐ์˜ ํ•จ์ˆ˜ ์ •๋ณด๋ฅผ ์œ ์ง€ํ•  ์ˆ˜ ์žˆ๋„๋ก ๋ณ€๊ฒฝํ•˜์˜€์Šต๋‹ˆ๋‹ค.

๐Ÿ“Š ์ฃผ์š” ๋ณ€๊ฒฝ ์‚ฌํ•ญ

์ฃผ์š” ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ์ ์–ด์ฃผ์„ธ์š”.

  • ํ”„๋กœํผํ‹ฐ ์บ์‹ฑ์„ ๊ธฐ์กด utils/cache.py๋ฅผ ์ œ๊ฑฐํ•˜๊ณ , functools.cached_property๋กœ ๋ณ€๊ฒฝํ•˜์˜€์Šต๋‹ˆ๋‹ค.
  • KisChartBar.__reversed__, KisChartBar.df์˜ ๋ฐ˜ํ™˜ ํƒ€์ž…์„ ๋ช…์‹œํ•˜์˜€์Šต๋‹ˆ๋‹ค.
  • kis_repr ๋ฐ thread_safe์— functools.wraps๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ํ•จ์ˆ˜ ์ •๋ณด๋ฅผ ์„ค์ •ํ•˜์˜€์Šต๋‹ˆ๋‹ค.

๐ŸŽฏ ๋ชฉ์  ๋ฐ ์˜ํ–ฅ

  • ๋ชฉ์ : ์™œ ์ด PR์ด ํ•„์š”ํ•œ๊ฐ€์š”?
    ์ฝ”๋“œ๋ฅผ ์ •๋ฆฌํ•˜๊ณ , ๋ฎจ์„œํ™” ๋ฐ ํƒ€์ดํ•‘ ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ–ˆ์Šต๋‹ˆ๋‹ค.

  • ์˜ํ–ฅ: ์ด ๋ณ€๊ฒฝ ์‚ฌํ•ญ์ด ์–ด๋–ค ์˜ํ–ฅ์„ ๋ฏธ์น˜๋‚˜์š”?
    ํŒŒ์ด์ฌ์˜ ๊ถŒ์žฅ ์‚ฌ์–‘์— ๋ถ€ํ•ฉํ•˜๋„๋ก ๋งŒ๋“ค์—ˆ์Šต๋‹ˆ๋‹ค.

@Soju06 Soju06 added the ๊ธฐ๋Šฅ ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ ๋˜๋Š” ์š”์ฒญ label Dec 10, 2024
@Soju06 Soju06 self-assigned this Dec 10, 2024
@Soju06 Soju06 merged commit 4c58146 into main Dec 10, 2024
@Soju06 Soju06 deleted the refector/decorator-keeping-function-information branch December 10, 2024 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
๊ธฐ๋Šฅ ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ ๋˜๋Š” ์š”์ฒญ
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant