Hi, I noticed that in PR#2020 the function yr_fetch_block_data has been added for better exception handling. This function has replaced the previous "raw" call of block->fetch_data in modules. But saw that the new function for fetching data is not mentioned in the documentation (especially in the writingmodules.rst file, where there is a section focused on fetching the data), which in my opinion can be misleading for devs, that will be creating the new modules. Therefore I've changed this section to make it more up-to-date and to suggest the new function for fetching the data.
Hi, I noticed that in PR#2020 the function
yr_fetch_block_data
has been added for better exception handling. This function has replaced the previous "raw" call ofblock->fetch_data
in modules. But saw that the new function for fetching data is not mentioned in the documentation (especially in the writingmodules.rst file, where there is a section focused on fetching the data), which in my opinion can be misleading for devs, that will be creating the new modules. Therefore I've changed this section to make it more up-to-date and to suggest the new function for fetching the data.