code: def account(self, key=None, address=None, name=None):
          
          if key:
              return self.client.account(key, wallet=self)
          if address:
              q = dict(address=address)
          elif name:
              q = dict(name=name)
          else:
              raise TypeError("Missing param: key, address, or name is required.")
  
          return Account(
              self.resource.account_query(q).get(), self.client, wallet=self)
docs: Query for an account by key, address, or name.