Skip to content

Fix get_completed: remove await and use positional args#9

Open
HosomiKai wants to merge 1 commit into
jen6:mainfrom
HosomiKai:fix/get-completed-sync-call
Open

Fix get_completed: remove await and use positional args#9
HosomiKai wants to merge 1 commit into
jen6:mainfrom
HosomiKai:fix/get-completed-sync-call

Conversation

@HosomiKai

Copy link
Copy Markdown

This pull request updates the way completed tasks are fetched from the TickTick client in the filter_tools.py module. The main change is switching from an asynchronous call to a synchronous call for retrieving completed tasks, and updating the argument format to use positional arguments.

Task fetching logic update:

  • Changed the call to client.task.get_completed from an asynchronous await call to a synchronous call and updated arguments to use positional parameters (start_dt, end_dt) instead of keyword arguments. (src/ticktick_mcp/tools/filter_tools.py)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant