Furigana marker api#19
Closed
minto1226 wants to merge 45 commits into
Closed
Conversation
Renames classes and functions to better reflect their specific purposes Improves error handling with proper HTTP status codes and structured error responses.
Add word not found error handling
…us fix (#12) * build(requirements)!: keep packages that are being used only Comment out unused packages with two "#" and dependencies of packages that are being used with one "#". BREAKING CHANGE: remove `httptools`, `python-dotenv`, `uvloop`, `watchfiles`, and `websockets` from `requirements.txt` * build(requirements): add `aiohttp` for upcoming asynchronous fix
chore: add pr template and `CODEOWNERS`
… to async (#15) * build(requirements): update dependencies and add uv Change `aiohttp` to `httpx` Add `pyproject.toml` and `uv.lock` for `uv`. * chore: update `CODEOWNERS` * refactor(main): add doc strings and format with ruff * feat: add `lifespan` and `get_http_client` fuctions * style(usage_query): format with ruff * fix(lifespan): set timeout for `httpx.AsyncClient` to 10 seconds * perf: refactor `get_headwords`, `get_urls`, and `get_id_details` to use `httpx.AsyncClient` for asynchronous requests * docs: update README to enhance setup instructions * build: remove `requirements.txt` and update python version in `pyproject.toml`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
目的
添加aiohttp修改furigana_marker.py成Asynchronous
方法/實作說明
{{請描述你完成目的的方法,包括技術重點、修改的檔案、主要邏輯}}
關聯 Issue
(perf: add aiohttp and asyncio)
附註
{{請列出額外說明,如尚未完成部分、後續計劃或 TODO 項目}}