<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_user_by_id(self, uid):
 """Return user's data by identifier."""

        self.logger.debug('User %s has been found in database', uid)
        return dict(uid=uid, password_hash='secret_hash')