microsoft.opentelemetry.a365.hosting.scope_helpers.populate_invoke_agent_scope module

microsoft.opentelemetry.a365.hosting.scope_helpers.populate_invoke_agent_scope.populate(scope, turn_context)[source]

Populate all supported InvokeAgentScope tags from the provided TurnContext. :type scope: InvokeAgentScope :param scope: The InvokeAgentScope instance to populate. :type turn_context: TurnContext :param turn_context: The TurnContext containing activity information. :rtype: InvokeAgentScope :return: The updated InvokeAgentScope instance.