The example that shows in my logs if I forget to use wait, shows calling wait() on the task. The docs show waiting on the future returned by .submit(). This PR updates the example.
Also fixes a small formatting error in mint.json to ensure the pre commit hooks pass.
Checklist
[x] This pull request includes a label categorizing the change e.g. maintenance, fix, feature, enhancement, docs.
[x] This pull request references any related issue by including "closes <link to issue>"
If no issue exists and your change is not a small fix, please create an issue first.
[x] If this pull request adds new functionality, it includes unit tests that cover the changes
[x] If this pull request removes docs files, it includes redirect settings in mint.json.
[x] If this pull request adds functions or classes, it includes helpful docstrings.
The example that shows in my logs if I forget to use wait, shows calling
wait()
on the task. The docs show waiting on the future returned by.submit()
. This PR updates the example.Also fixes a small formatting error in mint.json to ensure the pre commit hooks pass.
Checklist
maintenance
,fix
,feature
,enhancement
,docs
.<link to issue>
"mint.json
.