golemfactory / yapapi

Python high-level API for Golem.
https://yapapi.readthedocs.io/en/stable/
GNU Lesser General Public License v3.0
48 stars 23 forks source link

Epic: Replace identified `yapapi` bits to use `golem-core` #1097

Open approxit opened 1 year ago

approxit commented 1 year ago

After #1096 , we know which bits of yapapi should be refactored to use golem-core, this is the time to actually refactor them.

Todo:

### Bits
- [ ] https://github.com/golemfactory/yapapi/issues/1117
- [ ] https://github.com/golemfactory/yapapi/issues/1122
- [ ] https://github.com/golemfactory/yapapi/issues/1123
- [ ] GFTP provider and storage abstractions. Keep `webdev` storage but use abstraction from golem-core
- [ ] DEFAULT_DRIVER, DEFAULT_NETWORK, DEFAULT_SUBNET
- [ ] _YagnaDatetimeFormatter
- [ ] make yapapi's events not ued and remove them (are goth tests using those event?)
- [ ] make `worker` funciton use golem core's batches: remake Executor into a adapter so it uses golem core's batches