<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def transaction_operations(self, tx_hash, cursor=None, order='asc', include_failed=False, limit=10):
 """This endpoint represents all operations that are part of a given transaction. `GET /transactions/{hash}/operations{?cursor,limit,order} <https://www.stellar.org/developers/horizon/reference/endpoints/operations-for-transaction.html>`_ :param str tx_hash: The hex-encoded transaction hash. :param int cursor: A paging token, specifying where to start returning records from. :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. :return: A single transaction's operations. :rtype: dict """

        endpoint = '/transactions/{tx_hash}/operations'.format(tx_hash=tx_hash)
        params = self.__query_params(cursor=cursor, order=order, limit=limit, include_failed=include_failed)
        return self.query(endpoint, params)