<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def hgetall(self, key, *, encoding=_NOTSET):
 """Get all the fields and values in a hash."""

        fut = self.execute(b'HGETALL', key, encoding=encoding)
        return wait_make_dict(fut)