i think the more common way to do this is define the function in another module and then import it in the `__init__.py` like you did for `get_all_pillows`