<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def operations(self, cursor=None, order='asc', limit=10, include_failed=False, sse=False):
 """This endpoint represents all operations that are part of validated transactions. `GET /operations{?cursor,limit,order} <https://www.stellar.org/developers/horizon/reference/endpoints/operations-all.html>`_ :param cursor: A paging token, specifying where to start returning records from. When streaming this can be set to "now" to stream object created since your request time. :type cursor: int, str :param str order: The order in which to return rows, "asc" or "desc". :param int limit: Maximum number of records to return. :param bool include_failed: Set to `True` to include operations of failed transactions in results. :param bool sse: Use server side events for streaming responses. :return: A list of all operations. :rtype: dict """

        endpoint = '/operations'
        params = self.__query_params(cursor=cursor, order=order, limit=limit, include_failed=include_failed)
        return self.query(endpoint, params, sse)