def betting_market_update(
        self,
        betting_market_id,
        payout_condition,
        description,
        group_id="0.0.0",
        account=None,
        **kwargs
    ):
        """ Update an event group. This needs to be **proposed**.

            :param str betting_market_id: Id of the betting market to update
            :param list payout_condition: Internationalized names, e.g.
                ``[['de', 'Foo'], ['en', 'bar']]``
            :param list description: Internationalized descriptions, e.g.
                ``[['de', 'Foo'], ['en', 'bar']]``
            :param str group_id: Group ID to create the market for (defaults to
                *relative* id ``0.0.0``)
            :param str account: (optional) the account to allow access
                to (defaults to ``default_account``)
        """
        assert isinstance(payout_condition, list)
        if not account:
            if "default_account" in self.config:
                account = self.config["default_account"]
        if not account:
            raise ValueError("You need to provide an account")
        account = Account(account)
        market = BettingMarket(betting_market_id)
        if group_id[0] == "1":
            # Test if object exists
            BettingMarketGroup(group_id)
        else:
            # Test if object is proposed
            test_proposal_in_buffer(
                kwargs.get("append_to", self.propbuffer),
                "betting_market_group_create",
                group_id,
            )
        op = operations.Betting_market_update(
            **{
                "fee": {"amount": 0, "asset_id": "1.3.0"},
                "betting_market_id": market["id"],
                "new_group_id": group_id,
                "new_description": description,
                "new_payout_condition": payout_condition,
                "prefix": self.prefix,
            }
        )
        return self.finalizeOp(op, account["name"], "active", **kwargs)
def betting_market_update ( self , betting_market_id , payout_condition , description , group_id = "0.0.0" , account = None , ** kwargs ) : assert isinstance ( payout_condition , list ) if not account : if "default_account" in self . config : account = self . config [ "default_account" ] if not account : raise ValueError ( "You need to provide an account" ) account = Account ( account ) market = BettingMarket ( betting_market_id ) if group_id [ 0 ] == "1" : BettingMarketGroup ( group_id ) else : test_proposal_in_buffer ( kwargs . get ( "append_to" , self . propbuffer ) , "betting_market_group_create" , group_id , ) op = operations . Betting_market_update ( ** { "fee" : { "amount" : 0 , "asset_id" : "1.3.0" } , "betting_market_id" : market [ "id" ] , "new_group_id" : group_id , "new_description" : description , "new_payout_condition" : payout_condition , "prefix" : self . prefix , } ) return self . finalizeOp ( op , account [ "name" ] , "active" , ** kwargs )
Update an event group. This needs to be **proposed**.

            :param str betting_market_id: Id of the betting market to update
            :param list payout_condition: Internationalized names, e.g.
                ``[['de', 'Foo'], ['en', 'bar']]``
            :param list description: Internationalized descriptions, e.g.
                ``[['de', 'Foo'], ['en', 'bar']]``
            :param str group_id: Group ID to create the market for (defaults to
                *relative* id ``0.0.0``)
            :param str account: (optional) the account to allow access
                to (defaults to ``default_account``)