Added
- Added `BaseDispatcher` class to be used for creating custom dispatchers which allow connection to a dispatcher server.
- `LocalDispatcher` inheriting from `BaseDispatcher` allows connection to a local dispatcher server running on the user's machine.
- Covalent only gives interface to the `LocalDispatcher`'s `dispatch` and `dispatch_sync` methods.
- Tests for both `LocalDispatcher` and `BaseDispatcher` added.
Changed
- Switched from using `lattice.dispatch` and `lattice.dispatch_sync` to `covalent.dispatch` and `covalent.dispatch_sync`.
- Dispatcher address now is passed as a parameter (`dispatcher_addr`) to `covalent.dispatch` and `covalent.dispatch_sync` instead of a metadata field to lattice.
- Updated tests, how tos, and tutorials to use `covalent.dispatch` and `covalent.dispatch_sync`.
- All the contents of `covalent_dispatcher/_core/__init__.py` are moved to `covalent_dispatcher/_core/execution.py` for better organization. `__init__.py` only contains function imports which are needed by external modules.
- `dispatch`, `dispatch_sync` methods deprecated from `Lattice`.
Removed
- `_server_dispatch` method removed from `Lattice`.
- `dispatcher` metadata field removed from `lattice`.