<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def top(self, **kwargs):
 """ Display the running processes of the container. Args: ps_args (str):
 An optional arguments passed to ps (e.g. ``aux``) Returns: (str):
 The output of the top Raises: :py:class:`docker.errors.APIError` If the server returns an error. """

        return self.client.api.top(self.id, **kwargs)