<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def all_dependencies(self, target):
 """All transitive dependencies of the context's target."""

    for dep in target.closure(bfs=True, **self.target_closure_kwargs):
      yield dep