def event_update(<EOL>self,<EOL>event_id,<EOL>name=None,<EOL>season=None,<EOL>start_time=None,<EOL>event_group_id=None,<EOL>status=None,<EOL>account=None,<EOL>**kwargs<EOL>):
assert isinstance(season, list)<EOL>assert isinstance(<EOL>start_time, datetime<EOL>), "<STR_LIT>"<EOL>if not account:<EOL><INDENT>if "<STR_LIT>" in self.config:<EOL><INDENT>account = self.config["<STR_LIT>"]<EOL><DEDENT><DEDENT>if not account:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>account = Account(account)<EOL>event = Event(event_id)<EOL>op_data = {<EOL>"<STR_LIT>": {"<STR_LIT>": <NUM_LIT:0>, "<STR_LIT>": "<STR_LIT>"},<EOL>"<STR_LIT>": event["<STR_LIT:id>"],<EOL>"<STR_LIT>": self.prefix,<EOL>}<EOL>if event["<STR_LIT:status>"] == status:<EOL><INDENT>status = None<EOL><DEDENT>if event_group_id:<EOL><INDENT>if event_group_id[<NUM_LIT:0>] == "<STR_LIT:1>":<EOL><INDENT>EventGroup(event_group_id)<EOL><DEDENT>else:<EOL><INDENT>test_proposal_in_buffer(<EOL>kwargs.get("<STR_LIT>", self.propbuffer),<EOL>"<STR_LIT>",<EOL>event_group_id,<EOL>)<EOL><DEDENT>op_data.update({"<STR_LIT>": event_group_id})<EOL><DEDENT>if name:<EOL><INDENT>op_data.update({"<STR_LIT>": name})<EOL><DEDENT>if season:<EOL><INDENT>op_data.update({"<STR_LIT>": season})<EOL><DEDENT>if start_time:<EOL><INDENT>op_data.update({"<STR_LIT>": formatTime(start_time)})<EOL><DEDENT>if status:<EOL><INDENT>op_data.update({"<STR_LIT>": status})<EOL><DEDENT>op = operations.Event_update(**op_data)<EOL>return self.finalizeOp(op, account["<STR_LIT:name>"], "<STR_LIT>", **kwargs)<EOL>
Update an event. This needs to be **proposed**.

            :param str event_id: Id of the event to update
            :param list name: Internationalized names, e.g. ``[['de', 'Foo'],
                ['en', 'bar']]``
            :param list season: Internationalized season, e.g. ``[['de',
                'Foo'], ['en', 'bar']]``
            :param str event_group_id: Event group ID to create the event for
                (defaults to *relative* id ``0.0.0``)
            :param datetime start_time: Time of the start of the event
            :param str status: Event status
            :param str account: (optional) the account to allow access
                to (defaults to ``default_account``)