def orchestrator_function(context: DurableOrchestrationContext):
    """Get data from durable orchestration context and schedule an activity for execution.

    Args:
        context (df.DurableOrchestrationContext): Context of the durable orchestration execution.

    Returns:
        str: result of Activity function
    """
    __method_name = inspect.currentframe().f_code.co_name
    applogger.debug("{}(method={}) Orchestrator function Called.".format(LOGS_STARTS_WITH, __method_name))
    json_data = context.get_input()
    result = yield context.call_activity("ExtraHopSentinelActivity", json_data)
    return result
Get data from durable orchestration context and schedule an activity for execution.

    Args:
        context (df.DurableOrchestrationContext): Context of the durable orchestration execution.

    Returns:
        str: result of Activity function
    
Solutions/ExtraHop/Data Connectors/ExtraHopDataConnector/ExtraHopDetectionsOrchestrator/__init__.py