Skip to content

Commit

Permalink
Merge pull request #23721 from hlouzada/refactor-async-dispatcher
Browse files Browse the repository at this point in the history
PR: Use `AsyncDispatcher` as class decorator (API)
  • Loading branch information
ccordoba12 authored Mar 1, 2025
2 parents 24f491c + 4f9dafa commit 6603773
Show file tree
Hide file tree
Showing 7 changed files with 434 additions and 212 deletions.
2 changes: 2 additions & 0 deletions changelogs/Spyder-6.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
### API changes

* **Breaking** - The `sig_pythonpath_changed` signal of the Python path manager plugin now emits a list of strings and a bool, instead of two dictionaries.
* **Breaking** - Remove `dispatch` method from `spyder.api.asyncdispatcher.AsyncDispatcher` to use it directly as decorator.
* Add class `DispatcherFuture` to `spyder/api/asyncdispatcher` and `QtSlot` method to `AsyncDispatcher` so that connected methods can be run inside the main Qt event loop.
* Add `early_return` and `return_awaitable` kwargs to `AsyncDispatcher` constructor.
* Add `register_api` and `get_api` methods to `RemoteClient` plugin in order to
get and register new rest API modules for the remote client.
Expand Down
Loading

0 comments on commit 6603773

Please sign in to comment.