Commit Graph
13 Commits
Author SHA1 Message Date
retoor d0b03e4cbc chore: add update_comment method and clean up whitespace in api.py 2024-12-03 17:49:12 +00:00
retoor a9654c715d fix: correct YAML indentation for step run directives in build workflow 2024-12-03 03:08:16 +00:00
retoor 2289f5926e chore: add build, install, run, test, and push steps to CI workflow 2024-12-03 03:02:36 +00:00
retoor d2b1228141 feat: add initial package build artifacts for devranta version 1.0.0 2024-12-03 02:55:27 +00:00
retoor 50f52b7281 fix: replace async generator with direct await to handle empty input array in main_async
The previous implementation used an async generator `api.get_rants()` which would raise a `StopAsyncIteration` error when the input array was empty. By switching to `await api.get_rants()` which returns a list, the code now correctly handles the edge case where no rants are available, allowing the for loop to iterate over an empty list without raising an exception.
2024-12-03 02:54:31 +00:00
retoor 933c5afb0b feat: add get_comments_from_user method to Api class and corresponding async test case 2024-12-03 02:52:56 +00:00
retoor e669166696 refactor: replace async generators with direct list returns in Api methods and tests
The commit removes all async generator functions from the Api class, converting `get_rants`, `search`, `mentions`, and `notifs` to return lists directly instead of yielding items. This eliminates the need for the `async_list` and `async_len` test helper utilities, simplifying the test assertions to use standard `len()` calls. The change reduces code complexity by removing generator overhead and dead helper code that was only used to consume the generators.
2024-12-02 23:57:59 +00:00
retoor 75541cb388 docs: add link to prebuilt packages archive in README overview section 2024-12-02 16:55:22 +00:00
retoor 44424f6ba9 chore: remove outdated dist artifacts for retoorded 1.3.37 wheel and tarball 2024-12-02 16:51:03 +00:00
retoor 046ecb16eb chore: add auto-commit and push steps to build workflow after tests 2024-12-02 16:49:20 +00:00
retoor d848352189 docs: add project description and setup instructions to README
- Replace vague "About" heading with direct project description
- Add setup instructions for installing via pip and configuring authentication
- Include usage examples for basic API calls and error handling
2024-12-02 16:46:23 +00:00
retoor 713347f22c docs: add make install step to build workflow and update README with todo list 2024-12-02 16:43:40 +00:00
retoor 7ab84098cc chore: scaffold devranta project with Makefile, CI workflow, and async API client stub 2024-12-02 16:41:02 +00:00