<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_account_details(self, account):
 """ Get the account details """

        result = self.get_user(account.username)
        if result is None:
            result = {}
        return result