fix: Comment to docstring and minor changes
fix: Comment to docstring and minor changes

- added description for args with example
- 'yield' might not be the best idea, barely any improvement, so changed back to 'return'

adityahase/frappe,yashodhank/frappe,adityahase/frappe,mhbu50/frappe,yashodhank/frappe,saurabh6790/frappe,almeidapaulopt/frappe,mhbu50/frappe,frappe/frappe,adityahase/frappe,almeidapaulopt/frappe,frappe/frappe,almeidapaulopt/frappe,StrellaGroup/frappe,almeidapaulopt/frappe,mhbu50/frappe,adityahase/frappe,StrellaGroup/frappe,saurabh6790/frappe,saurabh6790/frappe,frappe/frappe,mhbu50/frappe,yashodhank/frappe,yashodhank/frappe,StrellaGroup/frappe,saurabh6790/frappe