This announcement and release is for the Python API (requestors) only. We are sharing the updated Python APIs, “Laika” Yapapi 0.7.1. The Yapapi documentation, now hosted on ReadTheDocs has some improvements. This API update addresses a couple of important bugs and makes using the Application Programming Interface with the latest release a better experience for developers.
The relevant changes in this API release:
- Fix support for the wait_for_results Script flag in the Service API (#705)
- Fix reporting of invalid handlers in the Service API (#700)
Updates to included examples
- Add min_cpu_threads constraint and comments to the vm.repo() call in the blender example (#724)
- Fix usage reporting in the blender and simple-service examples (#720)
- Remove unnecessary defaults from the http-proxy example (#719)
- Fix timeouts in the yacat example (#722)
- Add README.md with example usage to the yacat example (#711)
- Add poe clean_examples command to clear the artifacts leftover from running the included examples
- Add vm.repo usage with explicit GVMI image URL (#725)
- clean up the old docs, update the API reference URL (#726)
Continuous integration changes
Installing and Upgrading Golem
These API releases are requestor-focused only, if you’re a provider you there is no need to do any changes. If you're a requestor, you don't need to update Yagna. The only update is for the Python API. We will include the installation command for both requestors and providers for anyone getting started!
curl -sSf https://join.golem.network/as-requestor | bash -
curl -sSf https://join.golem.network/as-provider | bash -
As security advice for both requestors and providers, you should be backing up your keys if you have mainnet tokens. You can back up your keys to your wallet with the export command (while Golem is running):
yagna id export --file-path=./key.json
If you’re just getting started with Golem for the first time, you want to go to the handbook. It includes the installation steps as a Provider or Requestor (video walk-through), along with explanations and important details such as Command-Line Interface (CLI).