<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def page(self, sim=values.unset, status=values.unset, direction=values.unset, transport=values.unset, page_token=values.unset, page_number=values.unset, page_size=values.unset):
 """ Retrieve a single page of CommandInstance records from the API. Request is executed immediately :param unicode sim: Only return Commands to or from this SIM. :param CommandInstance.Status status: Only return Commands with this status value. :param CommandInstance.Direction direction: Only return Commands with this direction value. :param CommandInstance.Transport transport: Only return Commands with this transport value. :param str page_token: PageToken provided by the API :param int page_number: Page Number, this value is simply for client state :param int page_size: Number of records to return, defaults to 50 :returns: Page of CommandInstance :rtype: twilio.rest.wireless.v1.command.CommandPage """

        params = values.of({
            'Sim': sim,
            'Status': status,
            'Direction': direction,
            'Transport': transport,
            'PageToken': page_token,
            'Page': page_number,
            'PageSize': page_size,
        })

        response = self._version.page(
            'GET',
            self._uri,
            params=params,
        )

        return CommandPage(self._version, response, self._solution)