<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def put(self, source, rel_path, metadata=None):
 """Puts to only the first upstream. This is to be symmetric with put_stream."""

        return self.upstreams[0].put(source, rel_path, metadata)