Integrations/MicrosoftGraphCalendar/MicrosoftGraphCalendar.py
def list_calendars_command(client: Client, args: Dict) -> Tuple[str, Dict, Dict]:
    """
    Get all the user's calendars (/calendars navigation property)

    Args:
        client: Client object with request
        args: Usually demisto.args()
    """
    calendar = client.list_calendars(**args)

    calendar_readable, calendar_outputs = parse_calendar(calendar.get('value'))  # type: ignore

    entry_context = {f'{INTEGRATION_CONTEXT_NAME}.Calendar(val.ID === obj.ID)': calendar_outputs}
    title = 'Calendar:'

    human_readable = tableToMarkdown(
        name=title,
        t=calendar_readable,
        headers=CALENDAR_HEADERS,
        removeNull=True
    )

    return human_readable, entry_context, calendar

    Get all the user's calendars (/calendars navigation property)

    Args:
        client: Client object with request
        args: Usually demisto.args()
    
Get all the user's calendars (/calendars navigation property)
Get all the user ' s calendars ( / calendars navigation property )
def list_calendars_command(client: Client, args: Dict) -> Tuple[str, Dict, Dict]:
    calendar = client.list_calendars(**args)
    calendar_readable, calendar_outputs = parse_calendar(calendar.get('value'))  
    entry_context = {f'{INTEGRATION_CONTEXT_NAME}.Calendar(val.ID === obj.ID)': calendar_outputs}
    title = 'Calendar:'
    human_readable = tableToMarkdown(
        name=title,
        t=calendar_readable,
        headers=CALENDAR_HEADERS,
        removeNull=True
    )
    return human_readable, entry_context, calendar
def list_calendars_command ( client : Client , args : Dict ) -> Tuple [ str , Dict , Dict ] : calendar = client . list_calendars ( ** args ) calendar_readable , calendar_outputs = parse_calendar ( calendar . get ( 'value' ) ) entry_context = { f'{INTEGRATION_CONTEXT_NAME}.Calendar(val.ID === obj.ID)' : calendar_outputs } title = 'Calendar:' human_readable = tableToMarkdown ( name = title , t = calendar_readable , headers = CALENDAR_HEADERS , removeNull = True ) return human_readable , entry_context , calendar
Get all the user's calendars (/calendars navigation property)
Get all the user ' s calendars ( / calendars navigation property )
"""
    Get all the user's calendars (/calendars navigation property)

    Args:
        client: Client object with request
        args: Usually demisto.args()
    """ # type: ignore
client
Client
Client object with request
Client object with request
args
Dict
None