[Modular] implement requirements validation for custom blocks (#12196)
* feat: implement requirements validation for custom blocks.
* up
* unify.
* up
* add tests
* Apply suggestions from code review
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com>
* reviewer feedback.
* [docs] validation for custom blocks (#13156)
validation
* move to tmp_path fixture.
* propagate to conditional and loopsequential blocks.
* up
* remove collected tests
---------
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com>
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>