Integrations/MicrosoftGraphCalendar/MicrosoftGraphCalendar.py
def update_event_command(client: Client, args: Dict) -> Tuple[str, Dict, Dict]:
    """
    Get a event by event id and return outputs in Demisto's format.

    Args:
        client: Client object with request
        args: Usually demisto.args()
    """
    event_id = args.get('event_id', '')
    args = process_event_params(**args)
    params: Dict = snakecase_to_camelcase(args, fields_to_drop=['user', 'calendar_id', 'event_id'])  # type: ignore

    # update the event
    event = client.update_event(user=args.get('user', ''), event_id=args.get('event_id', ''), **params)

    # display the updated event and it's properties
    event_readable, event_outputs = parse_events(event)
    human_readable = tableToMarkdown(
        name="Event:",
        t=event_readable,
        headers=EVENT_HEADERS,
        removeNull=True
    )
    entry_context = {f'{INTEGRATION_CONTEXT_NAME}(obj.ID === {event_id})': event_outputs}
    return human_readable, entry_context, event

    Get a event by event id and return outputs in Demisto's format.

    Args:
        client: Client object with request
        args: Usually demisto.args()
    
Get a event by event id and return outputs in Demisto's format.
Get a event by event id and return outputs in Demisto ' s format .
def update_event_command(client: Client, args: Dict) -> Tuple[str, Dict, Dict]:
    event_id = args.get('event_id', '')
    args = process_event_params(**args)
    params: Dict = snakecase_to_camelcase(args, fields_to_drop=['user', 'calendar_id', 'event_id'])  
    event = client.update_event(user=args.get('user', ''), event_id=args.get('event_id', ''), **params)
    event_readable, event_outputs = parse_events(event)
    human_readable = tableToMarkdown(
        name="Event:",
        t=event_readable,
        headers=EVENT_HEADERS,
        removeNull=True
    )
    entry_context = {f'{INTEGRATION_CONTEXT_NAME}(obj.ID === {event_id})': event_outputs}
    return human_readable, entry_context, event
def update_event_command ( client : Client , args : Dict ) -> Tuple [ str , Dict , Dict ] : event_id = args . get ( 'event_id' , '' ) args = process_event_params ( ** args ) params : Dict = snakecase_to_camelcase ( args , fields_to_drop = [ 'user' , 'calendar_id' , 'event_id' ] ) event = client . update_event ( user = args . get ( 'user' , '' ) , event_id = args . get ( 'event_id' , '' ) , ** params ) event_readable , event_outputs = parse_events ( event ) human_readable = tableToMarkdown ( name = "Event:" , t = event_readable , headers = EVENT_HEADERS , removeNull = True ) entry_context = { f'{INTEGRATION_CONTEXT_NAME}(obj.ID === {event_id})' : event_outputs } return human_readable , entry_context , event
Get a event by event id and return outputs in Demisto's format.
Get a event by event id and return outputs in Demisto ' s format .
"""
    Get a event by event id and return outputs in Demisto's format.

    Args:
        client: Client object with request
        args: Usually demisto.args()
    """ # type: ignore # update the event # display the updated event and it's properties
client
Client
Client object with request
Client object with request
args
Dict
None