HF RL Explorer

bisturi py docstring: 2 edits in 1 file(s)

bisturi py docstring: 2 edits in 1 file(s): a task in bisturi-harbor (Harbor dataset). In core.py , add to the validate method of the Ingredient class the docstring """Check that the Ingredient has a name.""" , on one line, as the first line of its body (indented like the body) and insert into the…

The task

In `core.py`, add to the `validate` method of the `Ingredient` class the docstring `"""Check that the Ingredient has a name."""`, on one line, as the first line of its body (indented like the body) and insert into the function `filter_recipes` the docstring `"""Keep only the active items."""` as the first line of its…

Part of efederici/bisturi-harbor.